Suppose page1 and page2 each have a button that loads page3. Is there a way for page3 to determine which of the 2 pages called it so we can then return to the previous page?
Actually my question was structured wrong. So as to add some clarity, I do not want to return to the previous page. What I want to do is set some variables based on the previous page.
if previouspage = "page1" then
x = 1
else
x=4
end if
Depending on which server-side language you are suing there is such a thing as a Referrer. Which contains the referring address, but this of course falls outside the scope of HTML.
Try a forum for the server side language you are using:
forum434
forum333
forum855
forum232
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.