Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

persisting login cookie

Status
Not open for further replies.

dudleys

Technical User
Apr 28, 2005
31
AU
Hi

I wonder if you can help with this problem.

I am developing my ASP.NET web site with Visual Studio 2003.

When run the test site on my PC and login into it with the following code

FormsAuthentication.RedirectFromLoginPage(acc.UserEmail, True)

the test system works fine. The login persists between sessions.

But when I upload it to the Live system the login is persisting for the current session. In other words when the session times out the system does not log you on as it should as I am calling the function above with "true".

Is this something you have heard happening?

Can you provide me with some way of deciphering the problem?

Thanks in advance
Malcolm
 
>>In other words when the session times out the system does not log you on as it should as I am calling the function above with "true".


"True" will set the cookie as persistent, which means it will never log out. set it to false...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top