Re: Apache, IE cgi.http_referer

2006-10-17 Thread Richard Cooper
I've a system that relies quite heavily on CGI.SERVER_NAME. 

Is there a more robust an alternative to this?

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256988
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Apache, IE cgi.http_referer

2006-10-17 Thread Rob Wilkerson
On 10/17/06, Richard Cooper [EMAIL PROTECTED] wrote:
 I've a system that relies quite heavily on CGI.SERVER_NAME.

 Is there a more robust an alternative to this?

I prefer to use CGI.HTTP_HOST.  In Apache - at least with 1.3 a few
years ago - CGI.SERVER_NAME returned the value in the ServerName
directive no matter which virtual host was being accessed.  This may
have been changed by now.  CGI.HTTP_HOST, on the other hand, correctly
identified the host being accessed.

That said, I'm not sure what you mean by a more robust alternative.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256997
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Apache, IE cgi.http_referer

2006-10-16 Thread Jochem van Dieten
Matt Williams wrote:
 On 10/15/06, Claude Schneegans wrote:

 The http_referer vartiable is set and transmitted by the browser,... if
 it wants to.
 If the browser does not set it, the CF server will not get it.

 How rude of the browser! Is this a setting the user can control?

If the user knows what he is doing. And what his firewall is doing. And what 
his anti-virus software is doing. And what his proxy is doing. So I think that 
accumulates to no.

Jochem

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256854
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Apache, IE cgi.http_referer

2006-10-16 Thread Snake
This is quite normal.
You cannot rely on the referer exisitng as so many things stop this data
being transmitted.
Anti-virus, anti-spyware, proxy servers, firewalls to name a few

Russ 

-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED] 
Sent: 15 October 2006 23:46
To: CF-Talk
Subject: Apache, IE  cgi.http_referer

On my laptop, I can't get IE to give me output for cgi.http_referer. A dump
of CGI shows it as a variable, but with empty string. Anyone else run into
this?

Sample code: a href=#CGI.HTTP_REFERER#Cancel/a

Real issue here is to go back one page, but to force that page to reload. So
a simple history.go(-1) doesn't do the reload.

Other ideas?

--
Matt Williams
It's the question that drives us.



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256858
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Apache, IE cgi.http_referer

2006-10-16 Thread Richard Cooper
Does the browser tend to do this with other CGI variables or is it mainly just 
the referer one?

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256862
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Apache, IE cgi.http_referer

2006-10-16 Thread Snake
Any variable that is considered personal information and can be used for
tracking purposes may not be sent.

Russ 

-Original Message-
From: Richard Cooper [mailto:[EMAIL PROTECTED] 
Sent: 16 October 2006 10:18
To: CF-Talk
Subject: Re: Apache, IE  cgi.http_referer

Does the browser tend to do this with other CGI variables or is it mainly
just the referer one?



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256863
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Apache, IE cgi.http_referer

2006-10-16 Thread Matt Williams
On 10/16/06, Snake [EMAIL PROTECTED] wrote:
 Any variable that is considered personal information and can be used for
 tracking purposes may not be sent.

 Russ

But can anybody explain why the variable shows in Firefox, but not IE?
This makes me think there's an IE setting - maybe the security or
privacy level. I'll play around with those.

-- 
Matt Williams
It's the question that drives us.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256910
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Apache, IE cgi.http_referer

2006-10-16 Thread Dave Watts
 But can anybody explain why the variable shows in Firefox, 
 but not IE? This makes me think there's an IE setting - maybe 
 the security or privacy level. I'll play around with those.

There may well be a setting that you could change, that would change this
specific instance of behavior. But in the long term, you simply can't count
on having that variable available.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
 
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore and Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256912
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Apache, IE cgi.http_referer

2006-10-16 Thread Doug Bezona
Possibly a privacy setting, or, again, make sure you don't have any
software running (anti-virus, firewall, antispyware, an add-in toolbar
etc.) that has a feature that's scrubbing the referrer info. It's
possible that software would only support/effect IE, and is leaving
Firefox untouched.

Honestly though, the conclusion you probably should be coming to here is
not to depend on the referrer info being present for anything
meaningful, since there are a lot of things a potential user could have
installed, or ways a browser might be set, that can interfere with it.

 -Original Message-
 From: Matt Williams [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 16, 2006 10:47 AM
 To: CF-Talk
 Subject: Re: Apache, IE  cgi.http_referer
 
 On 10/16/06, Snake [EMAIL PROTECTED] wrote:
  Any variable that is considered personal information and can be used
for
  tracking purposes may not be sent.
 
  Russ
 
 But can anybody explain why the variable shows in Firefox, but not IE?
 This makes me think there's an IE setting - maybe the security or
 privacy level. I'll play around with those.
 
 --
 Matt Williams
 It's the question that drives us.
 
 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256913
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Apache, IE cgi.http_referer

2006-10-16 Thread Matt Williams
On 10/16/06, Doug Bezona [EMAIL PROTECTED] wrote:
 Honestly though, the conclusion you probably should be coming to here is
 not to depend on the referrer info being present for anything
 meaningful, since there are a lot of things a potential user could have
 installed, or ways a browser might be set, that can interfere with it.

Okay, sorry for ignoring the comments that I shouldn't be relying on
the referer. This is a system where there is some control over the
user's browser. It is online software where certain requirements can
be met. However, I tried adjusting both the security and privacy
settings but no help. Also, there isn't any firewall or other software
blockage. This is just my local machine.

So the question at hand should be how can you make a link that will go
back one page (that page being unknown) and refresh it? I'm thinking I
may have to make the calling page(s) submit a form with a hidden
variable that I can use.

-- 
Matt Williams
It's the question that drives us.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256915
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Apache, IE cgi.http_referer

2006-10-16 Thread Doug Bezona
 So the question at hand should be how can you make a link that will go
 back one page (that page being unknown) and refresh it

By unknown, do you mean literally any arbitrary page on the internet,
or an arbitrary page from within your site/application?

If it's the former, there probably isn't a truly reliable solution -
experiment with the JavaScript history() function and you might get
closer - although I don't know how you would force a refresh on a page
you can't control.

If its pages within your own site, or a site you have control over, you
may have better options, bit without a more detailed explanation of what
you are trying to do and why, it's hard to say exactly what the best
approach might be.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256919
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Apache, IE cgi.http_referer

2006-10-16 Thread Matt Williams
By unknown I simply meant that it could be one of several possible
pages within the site. So yes, all potential pages are internal and we
do have control over those.

A littel more detail... The initial page has a drop down select box.
In the on change of that select I redirect to another page with a
form. If the user is to click cancel on that form, I want to take them
back one page, but the select box should have it's original value
(originally came from db) selected and not the value the user selected
which caused the redirect. Make sense?

So it is a select box which could be wrapped in form tags and then
a hidden field passed. I was just looking for something better.
Thanks.
Matt

On 10/16/06, Doug Bezona [EMAIL PROTECTED] wrote:
  So the question at hand should be how can you make a link that will go
  back one page (that page being unknown) and refresh it

 By unknown, do you mean literally any arbitrary page on the internet,
 or an arbitrary page from within your site/application?

 If it's the former, there probably isn't a truly reliable solution -
 experiment with the JavaScript history() function and you might get
 closer - although I don't know how you would force a refresh on a page
 you can't control.

 If its pages within your own site, or a site you have control over, you
 may have better options, bit without a more detailed explanation of what
 you are trying to do and why, it's hard to say exactly what the best
 approach might be.



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256950
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Apache, IE cgi.http_referer

2006-10-15 Thread Claude Schneegans
 cgi.http_referer

The http_referer vartiable is set and transmitted by the browser,... if 
it wants to.
If the browser does not set it, the CF server will not get it.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256837
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Apache, IE cgi.http_referer

2006-10-15 Thread Matt Quackenbush
The http_referer will only exist if the page load is a result of a link
click or a form submission.  If you just type the URL into the addy bar,
then it will be an empty string.

 

-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 15, 2006 5:46 PM
To: CF-Talk
Subject: Apache, IE  cgi.http_referer

On my laptop, I can't get IE to give me output for cgi.http_referer. A dump
of CGI shows it as a variable, but with empty string. Anyone else run into
this?

Sample code: a href=#CGI.HTTP_REFERER#Cancel/a

Real issue here is to go back one page, but to force that page to reload. So
a simple history.go(-1) doesn't do the reload.

Other ideas?

--
Matt Williams
It's the question that drives us.



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256838
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Apache, IE cgi.http_referer

2006-10-15 Thread Matt Williams
On 10/15/06, Claude Schneegans [EMAIL PROTECTED] wrote:
  cgi.http_referer

 The http_referer vartiable is set and transmitted by the browser,... if
 it wants to.
 If the browser does not set it, the CF server will not get it.

How rude of the browser! Is this a setting the user can control?

-- 
Matt Williams
It's the question that drives us.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256839
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Apache, IE cgi.http_referer

2006-10-15 Thread Dave Watts
  The http_referer vartiable is set and transmitted by the 
  browser,... if it wants to.
  If the browser does not set it, the CF server will not get it.
 
 How rude of the browser! Is this a setting the user can control?

Not directly from within a standard browser, although there are lots of ways
that a determined user can send any value, or no value at all, for this. You
shouldn't count on it being there, or containing the correct value.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256840
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Apache, IE cgi.http_referer

2006-10-15 Thread Doug Bezona
Are you by any chance running a security suite such as Zone Alarm, Norton 
Internet Security or the like?

The 'privacy' function of these packages often include scrubbing the referrer 
info from your browser requests.

-Original Message-
From: Matt Williams [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: 10/15/06 6:46 PM
Subject: Apache, IE  cgi.http_referer

On my laptop, I can't get IE to give me output for cgi.http_referer. A
dump of CGI shows it as a variable, but with empty string. Anyone else
run into this?

Sample code: a href=#CGI.HTTP_REFERER#Cancel/a

Real issue here is to go back one page, but to force that page to
reload. So a simple history.go(-1) doesn't do the reload.

Other ideas?

-- 
Matt Williams
It's the question that drives us.



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256846
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Apache, IE cgi.http_referer

2006-10-15 Thread Claude Schneegans
 How rude of the browser!

Also note that is there is no referrer, the browser will not tell there 
is one ;-)
The referrer is the page you clicked to get into the next page.
If the user gets directly to your page, by typing the address or by 
bookmark,
there is no referrer.

 Is this a setting the user can control?

Not as far as I know, but actually I never checked.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256848
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Apache, IE cgi.http_referer

2006-10-15 Thread Matt Williams
On 10/15/06, Doug Bezona [EMAIL PROTECTED] wrote:
 Are you by any chance running a security suite such as Zone Alarm, Norton 
 Internet Security or the like?

Nope. Pretty straightforward here.

Matt Q. said:
The http_referer will only exist if the page load is a result of a link
click or a form submission.  If you just type the URL into the addy bar,
then it will be an empty string.

Could be part of the issue. The template that won't work is called by
a javascript redirect. However, this does work in Firefox.

-- 
Matt Williams
It's the question that drives us.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256849
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4