mark, you have to escape the \ try something like replace(string,'\','\\',all) good luck Alexander Sicular Technical Director, Information Technology The Comprehensive Epilepsy Center The Neurological Institute of New York Columbia Presbyterian Medical Center 212.305.1318 [EMAIL PROTECTED] -----Original Message----- From: OleBlighty [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 18, 2000 7:29 PM To: [EMAIL PROTECTED] Subject: Cookie interpretation in JavaScript. He guys, I provide a help function in my application and set a Cookie with the full path of the help template. When I <CFOUTPUT> the contents I get the correct value..ie C:\INETPUB\WWWROOT\SITES\FRP\Help\Temp_hlp.cfm But, when I use this value in JavaScript (a simple alert("#Cookie.Help#") for testing purposes), I get the following value... C:INETPUBWWWROOTSITESFRPHelpTemp_hlp.cfm I am obviously missing a trick here, can anyone tell me what I am doing incorrectly. Thanks very much guys. Mark. ---------------------------------------------------------------------------- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. ------------------------------------------------------------------------------ Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.