By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,629 Members | 1,703 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,629 IT Pros & Developers. It's quick & easy.

Cookie values containing ampersands and semicolons

P: n/a
How do I escape these? The backslash doesn't seem to be working.

Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
jj******@hotmail.com wrote:
How do I escape these? The backslash doesn't seem to be working.


You could use escape()/unescape(), encodeURI()/decodeURI(),
or any other codec you find appropriate. Just be sure the
coded string does not contain ampersands and semicolons.
PointedEars
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.