Rich or anyone...

Have you got any further thoughts or ideas on this?  any sample scripts?

-----Original Message-----
From: Rich Wild [mailto:[EMAIL PROTECTED]
Sent: 03 July 2003 17:09
To: '[EMAIL PROTECTED]'
Subject: RE: [ cf-dev ] Cookies anyone..


> I could use JS and if you have any functions/apps for this

haven't got any to hand, but the theory is to write a JS function that loops
over the document.links object and checks the href of each one to 

a) see if its an internal link (ie not an external one to microsoft or
something) 
b) is a real web link (ie not a mailto: or javascript: etc) 
c) whether or not it already contains url variables
        - if so, then append the urltoken to the end
        - if not, then add ? and your urltoken

bonza!

Rich

> -----Original Message-----
> From: Robertson-Ravo, Neil (RX)
> [mailto:[EMAIL PROTECTED]
> Sent: 03 July 2003 16:58
> To: '[EMAIL PROTECTED]'
> Subject: RE: [ cf-dev ] Cookies anyone..
> 
> 
> I could use JS and if you have any functions/apps for this, I 
> would mucho
> appreciato.
> 
> -----Original Message-----
> From: Rich Wild [mailto:[EMAIL PROTECTED]
> Sent: 03 July 2003 16:45
> To: '[EMAIL PROTECTED]'
> Subject: RE: [ cf-dev ] Cookies anyone..
> 
> 
> I think you'd prob have to append the cftoken everywhere yea, 
> but it needn't
> be too hard...
> 
> some quick CF studio regexs on any <cflocation>, <form 
> action=>, <a href,
> etc etc..
> 
> if you're allowed to use and rely JS (if its an app where you 
> can define the
> tech requirements for usage) then you could even write a JS 
> function in the
> header to trawl through every url in the loaded page and 
> append the cftoken
> to it, things like that...
> 
> > -----Original Message-----
> > From: Robertson-Ravo, Neil (RX)
> > [mailto:[EMAIL PROTECTED]
> > Sent: 03 July 2003 16:42
> > To: '[EMAIL PROTECTED]'
> > Subject: [ cf-dev ] Cookies anyone..
> > 
> > 
> > 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...
> > 
> > 
> > -- 
> > ** 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]

-- 
** 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