SetAuthCookie works some times and fails some times?

G

Guest

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top