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

G

Guest

Hi,

I am running into this wierd problem. After validating the user I set the
authentication cookie
FormsAuthentication.SetAuthCookie(userName, false);
HttpContext.Current.Response.Redirect("Default.aspx?somevar=" + someVar);

in Default.aspx I check if the user is authenticated.
This works some times and some times it does not work.

I checked the IIS logs and I see two entries for Default.aspx in the failed
sessions.
In the second entry in IIS log I would see that its missing the
authentication cookie.

I don't understand whats going on.

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

No members online now.

Forum statistics

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

Latest Threads

Top