I'm going to try to do this without posting all the code...
In theory, If I do this:
...
...
Shouldn't Session("readwrite")="1" be reset to Session("readwrite")="" upon the next page refresh? Currently, it seems it will only reset Session("readwrite") if I close and reopen the browser, while the value is maintained each time the page is refreshed, or even if I go to other pages in the site and return to this one...
In theory, If I do this:
Code:
Session("ReadWrite")
Session.Timeout=1
Code:
Session("ReadWrite")="1"
Code:
Response.AddHeader "Refresh", "90;URL=index.asp"
Shouldn't Session("readwrite")="1" be reset to Session("readwrite")="" upon the next page refresh? Currently, it seems it will only reset Session("readwrite") if I close and reopen the browser, while the value is maintained each time the page is refreshed, or even if I go to other pages in the site and return to this one...