Form Authentication question

  • Thread starter Thread starter ckkwan
  • Start date Start date
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?
 
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.
 
Back
Top