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. Advertisements

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:
    676
    John Saunders
    Aug 26, 2003
  2. Strange Cat

    Weird behaviour of SetAuthCookie, bug?

    Strange Cat, Jan 21, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    463
    Mohamed El Ashamwy
    Mar 1, 2004
  3. =?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:
    572
  4. Danny Ni

    Question about SetAuthCookie

    Danny Ni, Sep 25, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    574
    Danny Ni
    Sep 25, 2004
  5. =?Utf-8?B?bWF2cmlja18xMDE=?=

    Forms Authentication Fails some times

    =?Utf-8?B?bWF2cmlja18xMDE=?=, Mar 24, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    484
    =?Utf-8?B?bWF2cmlja18xMDE=?=
    Mar 24, 2006
  6. =?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:
    674
    =?Utf-8?B?bWF2cmlja18xMDE=?=
    Mar 28, 2006
  7. Cirene
    Replies:
    2
    Views:
    646
    Cirene
    Jun 25, 2008
  8. David Colliver

    Problem with FormsAuthentication and SetAuthCookie

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