Re: javascript cookie

2001-01-03 Thread Joseph Thompson
You should be able to read Java generated cookies without trouble. Try here for a "cookie tutorial" http://cfhub.com/advanced/cookie/index.cfm > Dear all, > > If a cookie variables have been set using javascript, can I read it directly > into Cold Fusion's cookie variable ? How ? Is there any

RE: Javascript cookie

2004-04-03 Thread Michael T. Tangorre
You are missing your single quotes around the cookie value. Notice that the following works. document.cookie = 'c#attributes.containerid# = yes'; However, the following does not. document.cookie = cokname + "=" 'no;'; document.cookie = cokname + "=" + escape(value) + expString; HTH, Mike [To

RE: Javascript cookie

2004-04-03 Thread Eric Hoffman
Well, I defined cokname so maybe thats where I am confused?  I need single quotes even around the variable?   _   From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Saturday, April 03, 2004 7:17 PM To: CF-Talk Subject: RE: _javascript_ cookie You are missing your single quotes around

RE: Javascript cookie (nm)

2004-04-03 Thread Eric Hoffman
var never = new Date()   never.setTime(never.getTime() + 2000*24*60*60*1000);   var expString = "; expires=" + never.toGMTString();   document.cookie = 'c#attributes.containerid# = no'+ escape(value) + expString; works.  oops.  thanks.   _   From: Eric Hoffman [mailto:[EMAIL PROTECTED] Se

RE: Javascript cookie (nm)

2004-04-03 Thread Michael T. Tangorre
No problem. Those quotes will get you everytime in JS. > works.  oops.  thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]