Thanks Patrice
I have my web.config file set for 20 minute timeouts. I use session
variables throughout my page.
If I assign a session variable in certain pages I only need that
variable for the time that the user is on the page. For instance, I
have a dataset stored in a session variable that is only used for 1
page. The user will make numerous postbacks to the page so I don't want
to fill the dataset each time.
But once the user leaves the page I am done with the dataset so I would
like to clear it out of memory immediately. I can't clear the variable
because I don't know when the user is done with the page.
Is there a better way of storing this dataset? Should I be cacheing it.
I have never used cacheing in my apps so maybe I should if it would work
better in this type of situition.
Thanks
*** Sent via Devdex
http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!