djabra31498
Programmer
I am trying to get a page to just refresh once when it first loads. How do I do this so that it forces it
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<%
'lots of code
'wheee
'more code
'bottom
If Session("reload_flag") <> "true" Then
Session("reload_flag") = "true"
Server.Transfer("thispage.asp")
Else
'second load, clear the var just to be kind to the RAM
Session.Remove("reload_flag")
End If