Forum Moderators: open
Where are the variables stored? Are they stored along with the cookie on the users machine or are they kept on the server.
If the variables are stored on the server, there use should be as fast as any variable passed between pages using Request("data") statements.... Right?
Is there anything to watch out for when using Session Variables?
Any special clean up necessary?
Thanks,
As for clean up , either set the expiry time lower or have a log out section that links to a page with
<%
Session.Abandon
%>
to destroy the users session and free up system resources
v1c
The implications are huge.
Is there a way to limit the amount of memory allocated to each variable so as to minimize the amount of memory consumed overall?
Is this type of storage more consuming than a common local ASP variable? I suppose because of the timeout it will persist longer and as a result, is more consuming.
Thanks,
A simple ASP variable is discarded from memory as soon as the page is delivered. A session variable waits, by default, 20 minutes from the last hit by that session on the web server before it is discard, unless the session is abandoned.