Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
help with (HTTP_REFERER) Using CDO dross msg:942544 3:12 am on Apr 20, 2005 (gmt 0) HI, I have a link on my website. When the user clicks the link, a small asp form(mail.asp) pops up that they fill out. I am trying to get http_referers to work. The best that I can do so far, is that the recipient gets an email reading. Please check out www.site.com/mail.asp. The referer is picking up the last page as the email form itself, and not the previous page.
Anyone have any idea on how this may be done correctly?
TheNige msg:942545 3:31 am on Apr 20, 2005 (gmt 0)
I'm not entirely sure, but how are you opening your pop-up window? If you are using jscript it may not have a referrer property since it is esentially a new window...just a guess. fabfurs msg:942546 11:35 am on Apr 20, 2005 (gmt 0)
Have you considered changing the link to a button on a form using either GET or POST and passing the current form name to the mail.asp form via the request.querystring? dross msg:942547 1:27 pm on Apr 20, 2005 (gmt 0)
Thanks for the replies. I guess I am open to options that will allow this to work.
As far as the form button. Any online links that explain this further?
David mattglet msg:942548 4:06 pm on Apr 20, 2005 (gmt 0)
On your mail.asp page, you can do this:
strReferer = Request.QueryString("r")
You will now have the value available on mail.asp
dross msg:942549 5:02 pm on Apr 20, 2005 (gmt 0)
Thanks Very Much. I will try this later this evening.