% If Request("DontFrame")<>1 Then Response.Redirect "/iissamples/sdk/asp/docs/SampFram.asp?ovfile=/iishelp/iis/htm/sdk/samp0ur7.asp&srcfile=Applications/Session" %>
You can use the Session object to store variables that will remain available for the length of the session, and, therefore, have session scope. For instance, if you have created an on-line shopping application, you could define Session object variables that allow you to track how much merchandise the shopper has purchased or how much money they owe. This example uses the variable SessionCount to store the number of times you have clicked the Click here to visit it again link.
Note If you visit this sample several times, visit another section of the documentation, and then visit this sample again, the count will pick up where you left off. This is because the Session object has not yet been destroyed.