|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
session
In my login script I set session("User") = rs("User") the session timeout is set to 20 min
Do I need to setup some kind of update session variable on each page so that the timeout does run out or does iis update the variable aslong as I'm browsing the website ? And another thing, <% application("something") %> works fine on my test server but once I implement it onto the main webserver I dont get any text out, is there some kind of switch that enables this function ? Cheers for any info ![]() |
|
#2
|
|||
|
|||
|
My understanding of sessions is that unless you implecetley delete them .. then the timeout is from the last time the browser sent a request to the web server.
There will probably be a load of posts now saying that I'm wrong ... but as far as I was aware, this is how it works M3ckon |
|
#3
|
|||
|
|||
|
I agree with you m3ckon, my understanding of a session is that it is "renewed" everytime the browser sends a request to the web server. Then after xx minutes in inactivity then the session is abandoned. So as long as your users stay active they don't have to worry. But if you're having them fill out a pretty extensive form to submit then I'd increase your timeout length.
And as for the application question I'm not to sure. Check one of these sites: w3Schools aspfaq One of those should help you out. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > session |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|