Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > escape in ASP

Thread Tools

escape in ASP

Posts: n/a
When chucking data in a cookie you cannot use certain characters (in
this example ‘ : ‘ ).

To get around this you use escape and unescape. Trying to use the
escape as such:

Response.Cookies("Lines")("URL4") = escape("")

Gives the following result:


Which I don't think does anything to help. So using it like this:

Response.Cookies("Lines")("URL4") = "escape("

Gives the following result:


Which is the correct result apart from the ‘escape' actually
appearing. Any ideas how to get around this?
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read strings cantaining escape character from a file and useit as escape sequences? slomo Python 5 12-02-2007 11:39 AM
URL Escape Character Problem (Bug in ASP.NET??) =?Utf-8?B?Q29vbEtpd2lCbG9rZQ==?= ASP .Net 1 03-10-2005 10:02 PM
Escape Function in ASP.NET? Danny ASP .Net 10 01-15-2004 07:54 PM
escape a whole regex Tassos Perl 2 12-12-2003 06:36 PM
escape in ASP JigMan ASP General 1 07-22-2003 03:07 AM