The topic talks about this. Short version. I need a way to force a page refresh only the first time the page loads. It would be easy in asp.net, but I don't know how to do this in classic asp.
The longer version: I am trying to update a fairly large application, and one of its problems is that when you log in, it still does not save the necessary information in the sessions, unless you press several specific buttons or refresh the page ... which causes problems when a client tries to navigate pages.
I CAN track the sessions and set them manually, but I failed in this for several hours, so forcing an update would be much easier. If there is only a way to detect the loading of a page, I won’t call a loop. Redirection is also out of the question, since the application has too much code (all of which are almost without hesitation and disorganized) for me to see how it actually creates all the checksums, etc.
Edit: Thanks for the answers and sorry for the late reply. You have some good ideas from you guys. :)
source
share