Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ServerVariables(
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ServerVariables("HTTP_REFERER")

 Post Reply Post Reply Page  <12
Author
Bunce View Drop Down
Senior Member
Senior Member
Avatar

Joined: 10 April 2002
Location: Australia
Status: Offline
Points: 846
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bunce Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2003 at 4:03am
What do these return if you put them at the end of your code:

response.write request.servervariables("HTTP_REFERER")
response.write strREF
response.write Session("CC_referingURL")
There have been many, many posts made throughout the world...
This was one of them.
Back to Top
chris@artwebs.c View Drop Down
Newbie
Newbie


Joined: 05 March 2003
Location: United Kingdom
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote chris@artwebs.c Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2003 at 8:34am

Hi Bunce

This is the result writen to the page the ("HTTP_REFERER") is blank?

HTTP_REFERER=  

strRef= None  

CC_referingURL= None 

Back to Top
Bunce View Drop Down
Senior Member
Senior Member
Avatar

Joined: 10 April 2002
Location: Australia
Status: Offline
Points: 846
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bunce Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2003 at 7:11pm

Then I think its probably being blocked somewhere.

Referer is not very reliable and can be blocked by Server / ISP and be spoofed by the client.

If you do a quick search on google for Blank HTTP_Referer you'll find a number of links describing the issue.

Cheers,
Andrew

There have been many, many posts made throughout the world...
This was one of them.
Back to Top
chris@artwebs.c View Drop Down
Newbie
Newbie


Joined: 05 March 2003
Location: United Kingdom
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote chris@artwebs.c Quote  Post ReplyReply Direct Link To This Post Posted: 18 March 2003 at 2:50pm

Thanks Bunce

Must be being blocked somewhere.

Will use a bit of java script instead to get the referer

Thanks for your help

Back to Top
Bunce View Drop Down
Senior Member
Senior Member
Avatar

Joined: 10 April 2002
Location: Australia
Status: Offline
Points: 846
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bunce Quote  Post ReplyReply Direct Link To This Post Posted: 18 March 2003 at 3:55pm

You can try, however if its getting blocked then I doubt it will matter what language you try as its not available...

Cheers,
Andrew

There have been many, many posts made throughout the world...
This was one of them.
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.