Re: what in place of session variables
- From: "HillBilly" <somebody@xxxxxxxxxxxxx>
- Date: Wed, 27 Aug 2008 18:32:26 -0500
Once Membership is installed the use of the Profile can be used to store session data rather easily.
"Mark Fitzpatrick" <markfitz@xxxxxxxxxx> wrote in message news:eTAd1kFCJHA.3668@xxxxxxxxxxxxxxxxxxxxxxx
Using the ASP.Net membership provider that was available starting in ASP.Net 2.0. It has most of the logic all set for you and will set the encrypted forms authentication cookie for you as well.
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression
"Max" <mm> wrote in message news:48b529d9$0$1088$4fafbaef@xxxxxxxxxxxxxxxxxxxxxxMy website is encountering loss of Sessions most probably due to hosting service. Cannot use session mode other than InProc since server is not under my complete control. Main problem is that I save user authentication info into session variables, and once these variables fall to Null, user is sent again to the login page.
Is there any alternative idea to the use of session variables, anybody has an option.. A question is , how a protected page could know that user has passed authentication. Cookies ? Querystring variables ?
Thanks
Max
.
- Follow-Ups:
- Re: what in place of session variables
- From: Max
- Re: what in place of session variables
- References:
- what in place of session variables
- From: Max
- Re: what in place of session variables
- From: Mark Fitzpatrick
- what in place of session variables
- Prev by Date: Re: Substitute sitemap node titles on-the-fly?
- Next by Date: Re: Multiline TextBox scrollbar moving up and down on updates
- Previous by thread: Re: what in place of session variables
- Next by thread: Re: what in place of session variables
- Index(es):
Relevant Pages
|