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
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
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
-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
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,
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
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
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
-
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
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
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
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
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
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
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
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
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
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
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
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
You could try (on the calling page) writing a session variable for the
current page, then call that variable instead of cgi.http_referrer
-Original Message-
From: Coldfusion [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 9:18 PM
To: CF-Talk
Subject: RE: cgi.HTTP_REFERER
Why
Colman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 7:22 PM
To: CF-Talk
Subject: RE: cgi.HTTP_REFERER
Calling page is:
cflocation url=test_ref.cfm
Still not working.
~|
Message: http://www.houseoffusion.com/lists.cfm
, 2006 5:06 AM
To: CF-Talk
Subject: RE: cgi.HTTP_REFERER
You could try (on the calling page) writing a session variable for the
current page, then call that variable instead of cgi.http_referrer
-Original Message-
From: Coldfusion [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 9
: 703-300-3911
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 11:09 AM
To: CF-Talk
Subject: RE: cgi.HTTP_REFERER
But what if he doesn't have control over the calling page?
!//--
andy matthews
web developer
ICGLink, Inc
I am trying to get this to work, and the simple test case is:
cfif cgi.HTTP_REFERER IS NOT
cgi variable exists
cfelse
cgi variable does not exist
/cfif
cfoutput#CGI.HTTP_REFERER#/cfoutput
However I am not getting anything back in the cgi variable.
Any comments appreciated
test case is:
cfif cgi.HTTP_REFERER IS NOT
cgi variable exists
cfelse
cgi variable does not exist
/cfif
cfoutput#CGI.HTTP_REFERER#/cfoutput
However I am not getting anything back in the cgi variable.
Any comments appreciated.
This transmission may contain
cfif cgi.HTTP_REFERER IS NOT
cgi variable exists
cfelse
cgi variable does not exist
/cfif
cfoutput#CGI.HTTP_REFERER#/cfoutput
However I am not getting anything back in the cgi variable.
Any comments appreciated.
Rick Colman
Just to eliminate any other kind of white space
what is the result of the conditional?
the variable will always exist. there should (i believe) always be a
key in the CGI scope (struct) for cgi.http_referer. However, the
value of that key could be an empty string (if the user bookmarked the
page, typed it in manually, etc).
On 3/29/06
This is kind of like asking to make sure your computer is plugged in (so
you've probably already checked this) but it will be empty if you didn't
actually have a referrer (as in, you browse directly to the page).
On 3/29/06 10:38 PM, Ian Skinner [EMAIL PROTECTED] wrote:
cfif cgi.HTTP_REFERER
cfif IsDefined(CGI.HTTP_REFERER) checks for it's existence
Actually, I'm pretty sure that IsDefined always returns true for any CGI
variable, whether it actually exists or not. For example, this would return
true:
cfif IsDefined(CGI.I_MADE_THIS_UP)
Dave Watts, CTO, Fig Leaf Software
http
cfif IsDefined(CGI.HTTP_REFERER) checks for it's existence
Actually, I'm pretty sure that IsDefined always returns true for any CGI
variable, whether it actually exists or not. For example, this would return
true:
cfif IsDefined(CGI.I_MADE_THIS_UP)
Dave Watts, CTO, Fig Leaf Software
WTF
) always be a
key in the CGI scope (struct) for cgi.http_referer. However, the
value of that key could be an empty string (if the user bookmarked the
page, typed it in manually, etc).
On 3/29/06, Richard Colman [EMAIL PROTECTED] wrote:
I am trying to get this to work, and the simple test
WTF!! Dave may kindly ask if you have any insight into the
logic behind that little gem? ;-)
I can only speculate, but the set of CGI variables is dependent on the
browser and the server, so my presumption is that they did this to reduce
errors when checking CGI variables. I think it's kind
cfif IsDefined(CGI.I_MADE_THIS_UP)
Dave Watts, CTO, Fig Leaf Software
WTF!! Dave may kindly ask if you have any insight into the logic behind that
little gem? ;-)
Thanks
CGI is a bit of a bastard because different web server software will return
deferent lists. This can be confounded
Thanks DaveI'm not sure I'd use the word sillybut I hear ya ;-)
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
Also you have to be going to that page from another page for it to have a
value...
Eric
snipped
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236505
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Calling page is:
cflocation url=test_ref.cfm
Still not working.
-Original Message-
From: Charles Sheehan-Miles [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 7:43 AM
To: CF-Talk
Subject: Re: cgi.HTTP_REFERER
This is kind of like asking to make sure your computer is plugged
Calling page is:
cflocation url=test_ref.cfm
Still not working.
I don't think that the Referer header is passed when you redirect using
CFLOCATION.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at
, March 29, 2006 8:57 PM
To: CF-Talk
Subject: RE: cgi.HTTP_REFERER
Calling page is:
cflocation url=test_ref.cfm
Still not working.
I don't think that the Referer header is passed when you redirect using
CFLOCATION.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software
I'm trying to track the number of hits
from a site that a client has an ad on.
I have his site stats in a db, but found
not hits from that particular http_referer,
although I know there should be.
I think I tracked the problem to the fact
that the ad opens a new browser window
and that
Not sure if I read it properly, btu I think you can look at img tag.
In the src attribute you can actually put a url. like http://blah/file.php;
in this php file you get the http referrer. in the add you somewhere put this
img tag. in file.php, while doing whatever you want, you will put the src
window
when his ad image is clicked. I can't place code in the URL, either...
Rick
-Original Message-
From: Srinivasa Teja Palla [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 10:02 AM
To: CF-Talk
Subject: Re: Tracking cgi.http_referer variables...
Not sure if I read
Not all clients will NOT send http_refer, it is blocked by a lot of problems
such as anti=spyware, anti-virus, browser plugins, firewalls etc .
Russ
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: 08 March 2006 15:48
To: CF-Talk
Subject: Tracking cgi.http_referer
of problems
such as anti=spyware, anti-virus, browser plugins, firewalls etc .
Russ
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: 08 March 2006 15:48
To: CF-Talk
Subject: Tracking cgi.http_referer variables...
I'm trying to track the number of hits
from a site
that tags the db counter each time the page is hit.
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 08 March 2006 09:48
To: CF-Talk
Subject: Tracking cgi.http_referer variables...
I'm trying to track the number of hits
from a site that a client has an ad
Hello Again Gurus!
I need to maintain the url of the referer if the current page is reloaded
seral times. Whats the best method of acheiving this?
Eg: Visitor leaves a of pages Page B,C,D,E,F or G an goes to Page A page
A is reloaded several times. How do I maintain the refering page A several
I need to maintain the url of the referer if the
current page is reloaded seral times. Whats the
best method of acheiving this?
You could toss the value into a session variable, a cookie, a database, a
structure in an application variable... There are a lot of options for
keeping a value
Thanks Justin!
-Original Message-
From: Justin D. Scott [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 18, 2005 1:26 PM
To: CF-Talk
Subject: RE: Maintaining CGI.HTTP_REFERER
I need to maintain the url of the referer if the
current page is reloaded seral times. Whats the
best method
At the office, we've run into a bit of a snag with a script that a
consultant did for us that authenticates from the URL of a referring
page hosted on a third party site to auto-generate single signon
authentication, so that an account from their site is automatically
generates an account on our
Brian Meloche wrote:
At the office, we've run into a bit of a snag with a script that a
consultant did for us that authenticates from the URL of a referring
page hosted on a third party site to auto-generate single signon
authentication, so that an account from their site is automatically
or
hidden variable.
-Mark
-Original Message-
From: Brian Meloche [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 11:54 AM
To: CF-Talk
Subject: Alternative to cgi.http_referer - single signon
At the office, we've run into a bit of a snag with a script that a
consultant
I am trying to check the CGI.HTTP_REFERER variable to keep outside sites from submitting forms; however, I have seen some strange things.The same form on one computer when the form is submitted will have data in CGI.HTTP_REFERER and on another computer, CGI.HTTP_REFERER is blank.Any ideas of what
11:41 AM
To: CF-Talk
Subject: CGI.HTTP_REFERER is blank!
I am trying to check the CGI.HTTP_REFERER variable to keep outside sites
from submitting forms; however, I have seen some strange things.The same
form on one computer when the form is submitted will have data in
CGI.HTTP_REFERER
Sending a referrer is entirely up to the browser/system - most home firewall
software will prevent referrers from being sent for example.
You really should never use referrer as security mechanism it's just not
reliable enough.
Jim Davis
I am trying to check the CGI.HTTP_REFERER variable
So, any ideas on the best way to keep outside sites from submitting my
forms?
-Original Message-
From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 10:50 AM
To: CF-Talk
Subject: RE: CGI.HTTP_REFERER is blank!
Donnie:
The Referer header is optional.HTTP Clients
-
Vancouver Island ColdFusion Users Group
Founder Director
www.cfug-vancouverisland.com
- Original Message -
From: Donnie Carvajal
To: CF-Talk
Sent: Monday, July 12, 2004 8:40 AM
Subject: CGI.HTTP_REFERER is blank!
I am trying to check the CGI.HTTP_REFERER variable
Internet Privacy software will strip out the referrer oftentimes.With all
of the privacy issues and the software to address them, it might not be a
good idea to rely on CGI.HTTP_REFERERespecially since it can be forged
easily.
Marlon
-Original Message-
From: Donnie Carvajal [mailto
Donnie:
There's been a lot of discussion on this topic in the past.You can check
the House Of Fusion archives for them.
In general, the best method I've heard of is dynamically generating a unique
value on form display that needs to be submitted to the form processing
page.Basically, when the
Norton Internet Security and similar products will strip it.
-Original Message-
From: Donnie Carvajal [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 10:41 AM
To: CF-Talk
Subject: CGI.HTTP_REFERER is blank!
I am trying to check the CGI.HTTP_REFERER variable to keep outside sites
Donnie Carvajal wrote:
So, any ideas on the best way to keep outside sites from submitting my
forms?
Try using ticketmaster to buy some tickets, you'll see what is probably
one of the more effective methods... then scan the list archives for the
many discussions on methods of doing it.=)It's
On 7/1/02 9:22 AM, S. Isaac Dealey [EMAIL PROTECTED] wrote:
Do some firewalls prevent browsers passing on this variable?
Yes
I guess this would typically be the firewall at the user's location preventing
the data going out, rather than the firewall at the server's location
preventing
: Re: Does cgi.http_referer ALWAYS work?
On 7/1/02 9:22 AM, S. Isaac Dealey [EMAIL PROTECTED] wrote:
Do some firewalls prevent browsers passing on this variable?
Yes
I guess this would typically be the firewall at the user's location
preventing
the data going out, rather than the firewall
Hi,
I need to extract d%3A%5Ctemp%5Ctestdir000\ and decode the line so it appears as
d:\temp\testdir000\
I'm not sure of the correct syntax?
http://127.0.0.1/test/index.cfm?dir=d%3A%5Ctemp%5Ctestdir000\
__
This list and all
I need to extract d%3A%5Ctemp%5Ctestdir000\ and decode the
line so it appears as d:\temp\testdir000\
I'm not sure of the correct syntax?
http://127.0.0.1/test/index.cfm?dir=d%3A%5Ctemp%5Ctestdir000\
Look up URLdecode(), it does exactly that - unless you're running CF4.5,
then there isn't
Cool! Thanks
On Tue, 13 Aug 2002 14:44:45 +0100, Philip Arnold - ASP wrote:
I need to extract d%3A%5Ctemp%5Ctestdir000\ and decode the
line so it appears as d:\temp\testdir000\
I'm not sure of the correct syntax?
http://127.0.0.1/test/index.cfm?dir=d%3A%5Ctemp%5Ctestdir000\
Look
to
be
rather poor, as it can easily be spoofed. So my sites don't rely on it,
although occassionally they may use it to refine error messages.
Cheers
The correct spelling is the American spelling - i.e. cgi.http_referer
even
though my outlook insists on arguing with me
A firewall would have to _strip_ the referer header from
the HTTP request... a lot of work, and I can't imagine what
additional security would be gained from doing this.
Imagine that you've got a relatively unsavory site with a bunch of links to
less unsavory sites. You might not want to
Okay. I'm stumped. I had this whole lovely plan for something I'm working
on. It involved looking at the value of CGI.HTTP_REFERER. But that value
isn't coming up on my radar. It doesn't matter what browser I use. It's
just not there. I've tried different spellings (REFERRER, REFERER
: CGI.HTTP_REFERER
Okay. I'm stumped. I had this whole lovely plan for something I'm working
on. It involved looking at the value of CGI.HTTP_REFERER. But that value
isn't coming up on my radar. It doesn't matter what browser I use. It's
just not there. I've tried different spellings
into
this with my IT department.
Thanks anyway,
Matthieu
-Original Message-
From: Douglas Brown [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 7:05 PM
To: CF-Talk
Subject: Re: CGI.HTTP_REFERER
The syntax on the first one is correct. Are you referencing it after a page
request or form
]
Sent: Saturday, July 27, 2002 4:48 PM
Subject: RE: CGI.HTTP_REFERER
I'm checking it in my Application.cfm. I want to see whether the page
before the current page is from my site or not. If not, I want to do
something different. I am guessing that my company's firewall is set to
block outgoing
Which web server and version of CF are running on this server? On my CF5/IIS5
server, I always have the exact same set of CGI variable (including
CGI.HTTP_REFERER), but some of them will sometimes have a zero length string
as there value. A firewall would have to _strip_ the referer header from
Turn on Debugging on you development box. This should show
you all the values in the CGI scope.
Joe
-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 6:49 PM
To: CF-Talk
Subject: CGI.HTTP_REFERER
Okay. I'm stumped. I had this whole
stumped. I had this whole lovely plan for something I'm working
on. It involved looking at the value of CGI.HTTP_REFERER. But that value
isn't coming up on my radar. It doesn't matter what browser I use. It's
just not there. I've tried different spellings (REFERRER, REFERER), looped
through
The correct spelling is the American spelling - i.e. cgi.http_referer even
though my outlook insists on arguing with me and changing it to referrer.
But as you have discovered, not all browsers send the parameter, because the
anti-spamming measures adopted by a lot of people block
I have always regarded the use of HTTP_Referer as a security measure to be
rather poor, as it can easily be spoofed. So my sites don't rely on it,
although occassionally they may use it to refine error messages.
Cheers
The correct spelling is the American spelling - i.e. cgi.http_referer
.
Cheers
The correct spelling is the American spelling - i.e. cgi.http_referer
even
though my outlook insists on arguing with me and changing it to referrer.
But as you have discovered, not all browsers send the parameter, because
the
anti-spamming measures adopted by a lot of people block
Save it as a variable?
Pete
- Original Message -
From: Jim Vosika [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, July 08, 2002 6:19 PM
Subject: CGI.HTTP_REFERER
I currently use #CGI.HTTP_REFERER# to see the last page my user came
from, is there a way to look back 2
Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 7:15 AM
To: CF-Talk
Subject: Re: CGI.HTTP_REFERER
Save it as a variable?
Pete
- Original Message -
From: Jim Vosika [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, July 08, 2002 6:19
.
Cheers
From: Jim Vosika [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: RE: CGI.HTTP_REFERER
Date: Tue, 9 Jul 2002 08:03:45 -0500
I mean for pages out of my control. Like say the user first goes to a
google result page then clicks through to some website where
I doubt that you can do this without some assistance from the intervening
page. While browsers have a history object,
I currently use #CGI.HTTP_REFERER# to see the last page my user came
from, is there a way to look back 2 pages?
This is not exactly the same thing, but the following does
I currently use #CGI.HTTP_REFERER# to see the last page my user came
from, is there a way to look back 2 pages?
Thanks!
Jim Vosika
http://tinyclick.com http://tinyclick.com/
Free URL Shortening!
__
Get the mailserver
Not unless you pass the previous page as a variable of some sort (cookie, URL, form,
etc).
Kevin
[EMAIL PROTECTED] 07/08/02 03:19PM
I currently use #CGI.HTTP_REFERER# to see the last page my user came
from, is there a way to look back 2 pages?
Thanks!
Jim Vosika
http://tinyclick.com http
I currently use #CGI.HTTP_REFERER# to see the last page my user came
from, is there a way to look back 2 pages?
Thanks!
Jim Vosika
I have never done this, but the javascript object model has a history object
which has the info you would need to know. Something like
window.history.go(-2) would
Does cgi.http_referer always work with all browsers?
No.
Do some firewalls prevent browsers passing on this variable?
Yes.
Because if it's not provided my app will assume they have
no right to be here and kick them out.
How else can I check that the user has come from a particular
cgi.http_referrer works most of the time... but not all ...
if a user attempts to go directly to a page ( for instance from a bookmark )
without passing through a previous page, then there isn't any
cgi.http_referrer variable when they get to the page... you can use cfparam
is if cgi.http_referer is the article, or
elsewhere in my app, then they're granted access, other wise they get sent
back to the article using cflocation .
However lately, I have had some users who can't get access. No matter what
they do, they're kicked back to the article. This doesn't
Do some firewalls prevent browsers passing on this variable?
Yes
I guess this would typically be the firewall at the user's location preventing the
data going out, rather than the firewall at the server's location preventing the data
coming in... I'm not sure I understand the reasoning
based
on the content management system's settings rather than my coldfusion
programming. If a content writer changes the status of the article, it also
changes the status of the CF application without needing to have any work
from me.
So the test I've got on my page is if cgi.http_referer
I use cgi.http_referer on one of our sites. The issue that has arisen with
us is if someone has Firewall software installed on their computer or is
behind a really restricted firewall on their network. As far as I have been
able to determine, under such circumstances there is a chance
Is this no longer functional in 5.0? Did we miss something as it is not
working on our new 5.0 server.
Cfif not #cgi.http_referer# eq index.cfm
cflocation url=index.cfm
/cfif
Thanks for any pointers.
Regards,
Eric J. Hoffman
Director of Internet Development
DataStream Connexion, LLC
I have a page which allows access only if a user is coming from a specific page, and I
use http_referer to grant or deny access. But I don't think Opera gives this
variable. can anyone else verify that? And how do you get around it?
The situation is people buy access to an article or
Hi Michael,
I've checked out Opera for you and yup, cgi.HTTP_REFERER exists. In
regards to your code all i would do is rewrite it like this, but that
doesn't affect how it works in the browser:
Cfif isdefined(cgi.HTTP_REFERER) and (cgi.HTTP_REFERER CONTAINS
#articleID# OR cgi.HTTP_REFERER
such variables if they don't exist. So, for example, this code would
work:
cfif CGI.FOO_BAR is not baz
even though there's no variable called CGI.FOO_BAR.
Second, and more important, you can't rely on CGI.HTTP_REFERER for any
serious security anyway, since it's sent by the browser, and can easily
=page_to_clear
input type=submit name=submit value=Submit
/form
/cfif
...the final page checks for the cgi.http_referer, and if it exists, it
performs a specific action:
cfif CGI.http_referer CONTAINS clearpage.cfm
...do something...
/cfif
However, the http_referer variable is always returned
Yes there!
This may sound overly naive but, on the index page of one of our web
applications,
I have done a check for the #cgi.http_referer# environment variable.
Then I have done a search through MNS (per say), where it links directly to
the (URL AND) template, the variable is defined
Hi All,
As I understand that cgi.http_referer created by the browser only when
the user follows a link or submit a form to the current page. So
sometimes it could be blank.
With this in mind we put this piece of code in our action page:
cfif attributes.method contains Action
cfif
-
- Original Message -
From: Sima Lee [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, November 02, 2001 8:20 AM
Subject: cgi.http_referer problem
snip
So the question is:
Is there any other situation when the cgi.http_referer would not be get
set
this to happen?
Thank you again.
Sima
-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 12:35 PM
To: CF-Talk
Subject: Re: cgi.http_referer problem
Short answer: Yes.
I've been running and logging referer tests for about 6 months now. I
get
NT 5.0)
I guess we cannot do anything to prevent this to happen?
Thank you again.
Sima
-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 12:35 PM
To: CF-Talk
Subject: Re: cgi.http_referer problem
Short answer: Yes.
I've been running
1 - 100 of 113 matches
Mail list logo