Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 11th, 2004, 03:31 PM
Authorized User
 
Join Date: Oct 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default change or block http referer

Hi folks,
is there any way to change the http referer information that is being passed from a web page. for example, I thought if I put a link on a page called refererpage.com pointing to mypage.com which redirects to customerpage.com that the referer would be mypage.com but unfortunately this is not the case. It is still displaying as refererpage.com. Is there a way that I can edit or block the referer information on mypage.com?

Regards
Oliver

 
Old November 12th, 2004, 09:11 AM
Authorized User
 
Join Date: Oct 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi folks,
I know this is a hard one but if anyone can help me it would be much appreciated.

Here's an example of what I mean:-
see the page here:
http://www.barrowvale.com/refererpage.asp

The page is refered by www.barrowvale.com/refererpage.asp to www.barrowvale.com/adprovisionservice.asp and then redirected to www.barrowvale.com/customerpage.asp. and yet the referer page is showing as follows:-

referer page (<%=request.servervariables("http_referer")%>) = http://www.barrowvale.com/refererpage.asp

One would think it should show as www.barrowvale.com/adprovisionservice.asp. Is there any way to change, reset or block the http_referer while redirecting in the intermediate page?

I hope someone can solve this problem

Kind Regards
Oliver



 
Old November 14th, 2004, 04:12 PM
Authorized User
 
Join Date: Oct 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi folks,
still no solution to this question? I found this page about how to Secure your web server from prying eyes http://www.asp101.com/articles/wayne...es/default.asp
and I wonder could an ISAPI Filter be configured to hide or block the http referer (referrer) information in the header?

Any ideas?

Regards
OD








Similar Threads
Thread Thread Starter Forum Replies Last Post
typing abc.com opens http://abc.com and not http:/ nrlahoti ASP.NET 2.0 Professional 1 February 6th, 2008 01:43 PM
How to change file path to http url cJeffreywang BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 0 July 25th, 2007 12:18 AM
How to block downloading qazi_nomi Classic ASP Basics 2 July 25th, 2005 12:51 AM
Determining HTTP REFERER question? savoym Javascript 9 May 24th, 2004 12:07 PM
HTTP Status 405 - HTTP method GET .... nsakic Servlets 1 January 25th, 2004 04:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.