View Full Version : javascript guru help needed for redirect issue
inusrat
02-20-2009, 05:59 AM
Hi,
I have page A which redirects to page B
document.location.href='http://www.natradersonline.com/PageB.shtml';
In Page B I want to get the URL of Page A. Can I do that?
Thanks
oesxyl
02-20-2009, 06:07 AM
Hi,
I have page A which reirects to page B
document.location.href='http://www.natradersonline.com/PageB.shtml';
In Page B I want to get the URL of Page A. Can I do that?
Irfan
this belong to javascript forum not Post a JavaScript..
I don't know if you can do this with javascript, maybe using a server side scripting language you can read the http referer but since this can be disabled by the user
is not quite what you want. But could work if both page are on the same domain.
regards
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.