Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

path in cookie

 
Robert Kennedy
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RFC 2965 covers all aspects of Cookie headers and the formats required and includes examples.

A google search will find you a copy.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic