Results 1 to 5 of 5

Thread: Form Authentication

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254

    Form Authentication

    My application requires an authentication and user is required to enter the username and pass. I have done this by form authentication. My application shows loginadmin.aspx for username and pass, if they are correct then it jumps to default.aspx.
    I tried to go directly to default.aspx by tying the URL and it took me there no login nothing
    well i m new to ASP.NET please help

    Thanks
    Ideas are dime a dozen.
    People who put them into action are priceless.

  2. #2
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877

    Re: Form Authentication

    Try this tutorial, should help..
    http://www.4guysfromrolla.com/webtech/110701-1.shtml
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254

    Re: Form Authentication

    Before taking to default.aspx webconfig file redirects all the unauthenticated users to the login page, after successful login it takes user to default.aspx, instead of clicking SignOut if user closes the form and try again the same URL he or she directly goes to the default.aspx, why??? I want them again to be prompted for login.

    Please help
    Ideas are dime a dozen.
    People who put them into action are priceless.

  4. #4
    Addicted Member
    Join Date
    Mar 2001
    Location
    India
    Posts
    134

    Re: Form Authentication

    Quote Originally Posted by rmoghal
    Before taking to default.aspx webconfig file redirects all the unauthenticated users to the login page, after successful login it takes user to default.aspx, instead of clicking SignOut if user closes the form and try again the same URL he or she directly goes to the default.aspx, why??? I want them again to be prompted for login.

    Please help

    may be teh authentication cookie has expired. Make it a persistant cookie with a long expiry period.
    Pavan Kumar

  5. #5
    Lively Member
    Join Date
    Mar 2002
    Posts
    96

    Re: Form Authentication

    You can store the login/password in Session variables in the login page.
    On the default page you check those Session variables for the same values as defined for the user (NT authentication) in the db.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width