This was given to me by someone on the list and will append urltoken to URL's. You may need to modify to fit:

<script language="Javascript">
function setLinks() {
        var thisLink = "";
        var urltoken = "&<cfoutput>#request.urltoken#</cfoutput>";
        for (var i=0; i<document.links.length; i++) {
                thisLink = document.links[i];
                if (thisLink.href.indexOf('mailto:') == -1) {
                        if (thisLink.href.indexOf('index.cfm') != -1) {
                                thisLink.href += urltoken;
                        }
                }
        }
}
</script>

HTH

Dave


At 10:07 7/4/2003 +0100, you wrote:
isnt that for client variables? (friday....hungover)

-----Original Message-----
From: David Low [mailto:[EMAIL PROTECTED]
Sent: 04 July 2003 10:05
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Cookies anyone..


Hi Neil -


To be honest I'm not completely sure, it's not something I've done
before.  We've got a CF5 server and I remember an option in CF4.5 to
store session data in cookies, registry entries (which went badly wrong
in a previous site I ran) but also in a CF datasource.

Unfortunately the two sites are hosted externally so we've not got
control of the CF Administrator and I might have to try something
else...

----
On 04 July 2003 10:01,  Robertson-Ravo, Neil (RX) Wrote:

> Hi Dave,
>
> Can you give me a low down on how you will doing this?
>
> -----Original Message-----
> From: David Low [mailto:[EMAIL PROTECTED]
> Sent: 04 July 2003 09:58
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] Cookies anyone..
>
>
> ----
> On 03 July 2003 16:42,  Robertson-Ravo, Neil (RX) Wrote:
>
>> I am in the inenviable position of having to possibly convert a whole
>> section of a site into non-session cookie behaviour.... anyone got
>> any quick tips on this or is it case of appending each url with the
>> ID and Token...
>
> I have to do this as well on two large sites, so I'd be interested to
> hear how you get on!  To be honest I was just going to set up the
> server to hold session variables in an SQL table (the sites are
> fairly low traffic) and avoid using cookies that way...
>
> David
>
>
>
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED] For
> human help, e-mail: [EMAIL PROTECTED]




-- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



Reply via email to