Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unescape a cookie???

Status
Not open for further replies.

sqoti

Programmer
Joined
Dec 1, 2000
Messages
50
Location
US
Is it possible while retrieving a cookie's value to unescape it in the process? I have a situation where the cookie is created in javascript by escaping the value. This puts all characters inot String Format which includes commas, and other prohibited characters while creating a cookie.

I want to harvest the cookie's value in Java, but I am having trouble finding the code syntax. I am new to Java, hence I have problems reading the javadocs. Any help would be great!!!!
 
The URLDecoder class may do what you want...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top