Login control anf authentication.

Discussion in 'ASP .Net' started by Dave, Jan 26, 2008.

  1. Dave

    Dave Guest

    I have a two pages in the locations ~/Folder1/LoggedIn.aspx and
    ~/Folder2/Services.aspx. Both folders have a web.config file that redirects
    unauthenticated users to ~/Login.aspx. When a user is logged from
    ~/Login.aspx they are directed to ~/Folder1/LoggedIn.aspx. There is a hyper
    link on this page that should direct the user to ~/Folder2/Services.aspx.
    However, when I click on this link, I am returned to the ~/Login.aspx page.
    There is LoginView control on this ~/Login.aspx page and it clearly shows
    that I am logged in. Could someone please tell me why I am being redirected
    to the ~/Login.aspx page rather than being sent to ~/Folder2/Services.aspx?
    --
    L. A. Jones
     
    Dave, Jan 26, 2008
    #1
    1. Advertising

  2. Dave

    Dave Guest

    Solved. I had placed my roles in web.config in the wrong order.
    --
    L. A. Jones


    "Dave" wrote:

    > I have a two pages in the locations ~/Folder1/LoggedIn.aspx and
    > ~/Folder2/Services.aspx. Both folders have a web.config file that redirects
    > unauthenticated users to ~/Login.aspx. When a user is logged from
    > ~/Login.aspx they are directed to ~/Folder1/LoggedIn.aspx. There is a hyper
    > link on this page that should direct the user to ~/Folder2/Services.aspx.
    > However, when I click on this link, I am returned to the ~/Login.aspx page.
    > There is LoginView control on this ~/Login.aspx page and it clearly shows
    > that I am logged in. Could someone please tell me why I am being redirected
    > to the ~/Login.aspx page rather than being sent to ~/Folder2/Services.aspx?
    > --
    > L. A. Jones
     
    Dave, Jan 26, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ike2010
    Replies:
    0
    Views:
    693
    ike2010
    Nov 15, 2005
  2. ad

    Can login with Login Control

    ad, Aug 28, 2006, in forum: ASP .Net
    Replies:
    9
    Views:
    974
    Tim_Mac
    Aug 31, 2006
  3. Sasquatch
    Replies:
    2
    Views:
    1,352
    Sasquatch
    Oct 3, 2006
  4. Pascal Blanchard
    Replies:
    0
    Views:
    271
    Pascal Blanchard
    Aug 17, 2004
  5. Pascal Blanchard
    Replies:
    1
    Views:
    302
    Pascal Blanchard
    Aug 18, 2004
Loading...

Share This Page