Hope you guys can assist..
I have a couple of sessions which i am trying to manipulate which i currently use for passing vars.
I don't at pres use a global.asa file for setting variables as the sessions i use may vary on timeouts and i would prefer a more specific control over my sessions.(lack of any real knowledge of global.asa does not help).
My issue is on setting the session timeout threshold which should be a simple process, but my draconian testing seems to be providing little answers.
After reading tutorials on setting session timeouts the code is fairly simple.
Code:
<%
Session.Timeout=35 ' 35 Minutes
%>
How ever when added to my page with
Code:
<%
Session.Timeout=1
Session("timeouttest") = "100"
If Session("timeouttest") = "" then
response.write "Session has timed Out"
End If
%>
I seem to still be incurring the standard 20 min timeout.
I can set my IIS with a higher timeout threshold but no good for hosted servers so no go there and again i would prefer to control my timeouts more acurately.
The other option would be to use a temp cookie to pass the vars which may be the solution but i would still like to have a fuller understanding of session control before using this solution.
If anyone has a better understanding of session manipulation that would be a great help.
Cheers
Aspless