Default Login

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jollywg
    New Member
    • Mar 2008
    • 158

    Default Login

    I'm developing a site where I need the user to view the site and then decide whether or not to log in. For some reason when I run my site in Visual Studio it automatically pulls up login.aspx (instead of default.aspx) I've attached the two files below.

    Thanks in advance!!
    Attached Files
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    I didn't look at your attachments, but the first thing that comes to mind is that you have placed the page that you want to let "unauthenticate d" users view in a restricted folder in your website. If the user tries to access any restricted resources ASP.NET will redirect them to your login page (if you've configured it this way) to let the user log in.

    If the unauthenticated users need to be able to access a resource (a web page in this case) then you need to place the web page in an unrestricted place.

    -Frinny

    Comment

    • Jollywg
      New Member
      • Mar 2008
      • 158

      #3
      that was exactly what was wrong. Thanks for the help Frinavale!

      Comment

      Working...