True. That script stores a "URL" string that represents the "previous"
page.
<!---Convert "logical" path to URLString--->
<cfset URLString= cgi.cf_template_path>
<cfset URLString=replace(URLString, P_Header, U_Header, "all")>
<cfset URLString=replace(URLString,"\","/","all")>
I suspect that those lines could be changed to something like
#GetDirectoryFromPath(ExpandPath("*.*"))# and still do the same thing.
>only problem with that particular approach is that HTTP_Referer is not
> always passed by the browser.
>
> chris olive, cio
> cresco technologies
> [EMAIL PROTECTED]
> http://www.crescotech.com
>
>
>
> -----Original Message-----
> From: Joseph Thompson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 12, 2001 9:48 PM
> To: CF-Talk
> Subject: Re: disabling back or second insert
>
>
> This approach is interesting... it uses a session variable and the
> HTTP_referer variable to check if the user is going "back" and simply
won't
> let them.
>
> http://cfhub.com/contributions/backbutton/
>
> > you really can't stop them from using the back button. javascript won't
> let
> > you touch the "chrome" stuff on a non-js generated window. even if you
> > could stop the button itself, they could right-click in the window and
> > select back, or do a few other things.
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists