Re: What's Wrong With Sessions?
- From: "Mark Fitzpatrick" <markfitz@xxxxxxxxxx>
- Date: Sun, 10 Dec 2006 13:36:09 -0600
I agree with Juan. The worste side-effect is running out of memory and
having the application recycle, which basically amounts to a restart in
appearance. This can be a giant pain as there's a delay during the recycle
process that may be noticeable.
If you do need to use SessonState, you can improve the performance of the
app by disabling it on pages that don't need it. This was also true in
classic ASP.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"senfo" <enceladus311@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eI3zLmHHHHA.2632@xxxxxxxxxxxxxxxxxxxxxxx
I've had multiple people tell me that I should avoid using session
variables, wherever possible and suggesting using cookies and context
instead; however, nobody has been able to give me an explanation as to
why. I'm aware of the issue when using kernel cache in IIS 6.0
(http://support.microsoft.com/kb/917072), however, I'm not using output
cache right now.
I greatly prefer session variables to cookies for security reasons, so
this is really bothersome. Can somebody please offer some insight?
Thank you in advance,
--
Sean
.
- References:
- What's Wrong With Sessions?
- From: senfo
- What's Wrong With Sessions?
- Prev by Date: Re: Get values from file
- Next by Date: Re: Choosing whitch button will act as submit button
- Previous by thread: Re: What's Wrong With Sessions?
- Next by thread: Re: What's Wrong With Sessions?
- Index(es):