Form Authentication question

C

ckkwan

Dear All,

ASPNET 1.1 web page using Form authentication.

I have a need to display more than one aspx pages before the user
login (not *.html but *.aspx pages).

Is it possible?
 
G

Guest

Dear All,

ASPNET 1.1 web page using Form authentication.

I have a need to display more than one aspx pages before the user
login (not *.html but *.aspx pages).

Is it possible?

You can use <location> configuration in the web.config file to skip
authentication for the specific file

<location path="default.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>

where * is used to denote "all users". Or use ? to allow an anonymous
user to access the page.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top