Could also be request_uri, seems to depend on the flavour of web server...
currentPath = '';
if (Len(cgi.request_uri) gt 0) {
currentPath = cgi.script_name & cgi.request_uri;
}
else if (Len(cgi.path_info)) {
currentPath = cgi.path_info;
}
B)
Steve Onnis wrote:
Its probably path_info
You will only get a referer if it a redirect
-----Original Message-----
From: Dale Fraser [mailto:d...@fraser.id.au]
Sent: Wednesday, 7 July 2010 11:56 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] cf 404 handling
I think its
CGI.HTTP_REFERER
Or dump CGI on the error handler page to an email and see which one has the
correct bit
Regards
Dale Fraser
http://dale.fraser.id.au
http://cfmldocs.com
http://learncf.com
http://flexcf.com
-----Original Message-----
From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf
Of skateboard.com.au
Sent: Wednesday, 7 July 2010 11:40 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] cf 404 handling
Hi Everyone
I've got a cf template set as my 404 handler (i'm using apache). I just
upgraded from cf6 to cf7 (stop laughing). Under cf6 I could see what page
was really requested using the cgi.request_uri variable. Under 7 its just
giving me the path of the cf template that I have set up to handle the 404s.
I guess I'm just after a way to access the request/form/cookie scopes from
pages that arn't really there.
thanks in advance
Drew Peacock
--
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.
--
Brett Payne-Rhodes
YourSite Web Solutions
w: http://www.yoursite.net.au
e: br...@ehc.net.au
t: +61 (0)8 9371-0471
m: +61 (0)414 371 047
--
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.