Hello all. I'm not sure if this is the right place for this question, but here it goes. I have a page (Project.asp) with some script that I don't
want to be run if a certain page (Phase.asp) calls it, so, I somehow need to obtain the referring URL and create a statement that 'IF URL != "../Phase.asp" then <run script> END IF". See, when I submit Phase.asp, it is refreshing Project.asp, and therefore running a script that I don't want run at that time.
Here is the portion of Phase.asp calling this page:
opener.parent.main.document.location.href='project.asp?projectid=" & projectId1 & "&autonum=4';
Any ideas how I would obtain this URL?
Thanks in advance,