472,973 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,973 software developers and data experts.

Page referer not getting set

Hi All,

I do web design for some small organizations, and one of the sites I have
set up takes online conference registrations. Now, most of the time it
works. In fact, every time I try it, it works fine.

However, after having many complaints about it not working right, I finally
discovered that some of my users do not have the page referer set when they
request my page, and I was checking on the form submission page to make sure
that the referer was the correct page.

What could cause people to not have their referer set? What is the solution
for this sort of problem? Just don't check the referer?

-Josh
Jul 17 '05 #1
5 2762

On 13-Feb-2004, "Joshua Beall" <jb****@donotspam.remove.me.heraldic.us>
wrote:
I do web design for some small organizations, and one of the sites I have
set up takes online conference registrations. Now, most of the time it
works. In fact, every time I try it, it works fine.

However, after having many complaints about it not working right, I
finally
discovered that some of my users do not have the page referer set when
they
request my page, and I was checking on the form submission page to make
sure
that the referer was the correct page.

What could cause people to not have their referer set? What is the
solution
for this sort of problem? Just don't check the referer?


Some browsers and many of the popup blockers allow the user to block the
referrer making it undependable.

--
Tom Thackrey
www.creative-light.com
tom (at) creative (dash) light (dot) com
do NOT send email to ja*********@willglen.net (it's reserved for spammers)
Jul 17 '05 #2
On Sat, 14 Feb 2004, Joshua Beall wrote:
What could cause people to not have their referer set? What is the solution
for this sort of problem? Just don't check the referer?


The specs?

Take a look at section 15.1.13 of RFC 2616:

: ...it is strongly recommended that the user be able to select whether or
: not the Referer field is sent.

<http://www.w3.org/Protocols/2616/rfc2616-sec15.html#sec15.1.3>

It has always been an optional field. Relying on the referer to be set to
some particular URI(s) you expect them to arrive from will break people
trying to link to your page[0] from elsewhere, and your pages from working
at all for some users. In general, this is poor practice.

I've also seen institutional browsers sometimes set to always send the same
fixed Referer, so just checking non-blank Referers will hurt some folk too.

0 - loosely. Really whatever you're returning from the script, be it page,
image or whatever else.

--
ash
a-k
.... Why is there so much month left at the end of the money?

Jul 17 '05 #3
"Ash Argent-Katwala" <as*@videdot.com> wrote in message
news:Pi**************************************@tung sten.doc.ic.ac.uk...
On Sat, 14 Feb 2004, Joshua Beall wrote:
What could cause people to not have their referer set? What is the solutionfor this sort of problem? Just don't check the referer? Take a look at section 15.1.13 of RFC 2616:

: ...it is strongly recommended that the user be able to select whether or
: not the Referer field is sent.


Hmm, good point.
It has always been an optional field. Relying on the referer to be set to
some particular URI(s) you expect them to arrive from will break people
trying to link to your page[0]


Well, you do not always want your pages to be linked from elsewhere, so that
is not a really good reason to not use it. But obviously the fact that it
is considered optional is reason enough, indeed.

Thanks!
Jul 17 '05 #4
Ash Argent-Katwala wrote:
I've also seen institutional browsers sometimes set to always send the same
fixed Referer,


This seems silly to me. Nowhere in RFC2616 says that fake referrer
information can be sent by the client.

--
Jock
Jul 17 '05 #5
On Mon, 16 Feb 2004, John Dunlop wrote:
This seems silly to me. Nowhere in RFC2616 says that fake referrer
information can be sent by the client.


Indeed. I'm just not sure I want to poke people in the eye for having it
configured that way (when it's likely their network/systems admin who's
done that to their setup and they can't necessarily do anything about it).

--
ash
a-k
.... Have you noticed how we only win the World Cup under a Labour government?

Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike Brearley | last post by:
I was wondering if there was an easy way to have a form set up so that when the submit button is pressed, it goes to a confirmation page that contains a back button that goes back to the page that...
3
by: Des | last post by:
I have a web email contact us that if the cancel button is presed it redirects to the home page. using header('Location: index.php'); I have a session variable on every page which sets the a...
2
by: Daniel | last post by:
how to detect who redirects traffic to a aspx page? is this info passed along in request object or can sites anonymously redirect traffic to other sites?
1
by: Raed Sawalha | last post by:
Hello: In my aspx page I need to check the HTTP_REFERER for (images swf ) file, so when I request the server variable (HTTP_REFERER) like this Request.ServerVariables within (page.aspx) . if the...
2
by: TR | last post by:
In an "Abandon Changes" button on my UserPreferences.aspx form, I'd like to redirect back to the page the user was on before coming to the UserPreferences form. It could be any one of my web app's...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
5
by: Bill Davidson | last post by:
All: Pardon the newbie question, but let's say I've got two pages in my website: Welcome.aspx NoNav.aspx I want users to be able to navigate to the welcome.aspx page (e.g....
0
by: j2lane | last post by:
im using frameset in an aspx page, which top frame is index.html and bottom one is footer.html. when a button in footer clicked, there is a pop up window pops, which i need to detect the previous...
6
by: rajiv82 | last post by:
I have a main page say Main.jsp which has a Iframe in it whose src is page1.jsp Page1.jsp has a form in it and we have a button on Main.jsp We submit form inside Ifame(page1.jsp) using the...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.