SetAuthCookie works some times and fails some times?

Discussion in 'ASP .Net' started by =?Utf-8?B?bWF2cmlja18xMDE=?=, Mar 23, 2006.

  1. I have a login page and after validating user credentials I set the
    FormsAuthentication.SetAuthCookie(username,false);
    and then redirect the user to a different page.

    This works often but some times it doesn't work. I checked the cookies for
    the sessions when it fails and the resulting page shows .ASPXAUTH cookie
    missing.

    Whats going on? I have no clue :(
    Any help.
     
    =?Utf-8?B?bWF2cmlja18xMDE=?=, Mar 23, 2006
    #1
    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. Frank Oquendo

    Re: SetAuthCookie?

    Frank Oquendo, Aug 26, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    569
    John Saunders
    Aug 26, 2003
  2. =?Utf-8?B?VHlzb24gQnJvd24=?=

    SetAuthCookie works, but our cookies aren't being written - HELP

    =?Utf-8?B?VHlzb24gQnJvd24=?=, May 3, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    424
  3. =?Utf-8?B?bWF2cmlja18xMDE=?=

    Forms Authentication Fails some times and not some times???

    =?Utf-8?B?bWF2cmlja18xMDE=?=, Mar 28, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    493
    =?Utf-8?B?bWF2cmlja18xMDE=?=
    Mar 28, 2006
  4. Cirene
    Replies:
    2
    Views:
    551
    Cirene
    Jun 25, 2008
  5. David Colliver

    Problem with FormsAuthentication and SetAuthCookie

    David Colliver, Jun 9, 2005, in forum: ASP .Net Security
    Replies:
    1
    Views:
    310
    David Colliver
    Jun 16, 2005
Loading...

Share This Page