Click to See Complete Forum and Search --> : Cookie


fark
10-07-2003, 05:58 PM
I have this stored in my cookie
134 Hill St
when I use this to print it out
Response.Write Request.Cookies("UserInput")(Street)
it prints out
134HillSt

What is the appropriate way to handle spaces in a cookie?
Thanks

Khalid Ali
10-07-2003, 08:42 PM
to me it seems like more of the server side coding problem..which language you are using
btway..when you set a cookie you need to use a escape() function and when reading it you use unescape() function

fark
10-08-2003, 08:00 AM
Im using VBScript
In the code samples that I've seen they don't use escape() or unescape() can you tell me more about it? Thanks

fark
10-08-2003, 08:01 AM
My appologies I wasn't thinking. I guess I should have posted this in the asp forum??