Some of my legacy program is using ASP (not ASP.Net), and even if I set long session expire time, for example to 20 minutes, sometimes in short time (e.g. in several minutes) I will still notice session expire error box –
"too much idle time, please login again."
Any ideas to analyze further? Not sure whether it is my code bug or server (browser) configuration issue, since not all client/server combinations are met with this strange issue.
The session expire box is triggered by my code:
<%
if session("timeToken") = "" then
%>
<script language = "JavaScript">
<!--
window.alert ("too much idle time, please login again");
//-->
</script>
<%
response.End()
end if
%>
Make sure you site stays in the same case sensitive folders
e.g.
http://myserver.com/MyWebSite/
does not have the same session cookie as
http://myserver.com/mywebsite/
So it would log you out.
It could be the IIS limitation on your application seesion timeout.
Try this:
hope this is the aswer to your prayers :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With