Click to See Complete Forum and Search --> : Server Variable???


Joe Keller
July 11th, 2001, 03:08 PM
Is there a server variable or some other way of knowing what Page has called a script.
I might have 3 or 4 different .asp pages that all reference to one page.. and I want that one page to act differently depending on which one of the first 3 or 4 calls it. So I need to know if there is a simple way that you can tell what script has called a certain asp page
Thanks
Joe

jayDePro
August 13th, 2001, 02:52 PM
I think this will help you


if request.SERVERVARIABLES("HTTP_REFERER")="page1" then
'Action 1
else
'Action2
end if


Please Check

JayDePro