Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Servlets
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
OCP Oracle Certified Professional Java SE 21 Developer (Exam 1Z0-830) Java SE 17 Developer (Exam 1Z0-829) Programmer’s Guide
this week in the
Programmer Certification
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
paul wheaton
Ron McLeod
Devaka Cooray
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Paul Clapham
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
Servlets
path in cookie
Robert Kennedy
Ranch Hand
Posts: 63
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello
I am tryng to write a cookie to the request. How do I indicate the root path or the equivalent of setPath=("/")
req = "GET "+uri+" HTTP/1.0\r\nCookie: JSESSIONID="+session+"\r\n\r\n";
Thanks
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
RFC 2965 covers all aspects of Cookie headers and the formats required and includes examples.
A google search will find you a copy.
Bill
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Replace Carriage Returns in String
write an object to tomcat server from http socket client
enter key creats problem on JSP
notepad not supporting new line character
Email regEx- should not start with dot(.)
More...