How do I get the calling page?

W

wolfing1

is there a way of getting the page that called the current page? Like,
I'd like to add a 'back' button that fills some info and then sends to
the previous page, which could be one of many pages that can call this
current page.
So, other than adding a form hidden field and passing it at submit or
whatnot, is there something like session('callingpage') or something
like that?
 
S

Steven Burn

The best your going to get is the HTTP_REFERER property;

Response.Write Request.ServerVariables("HTTP_REFERER")

Note however, this is by no means practical as some clients choose to "hide" or block this information

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top