• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get cookie id

 
vysh nars
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to write a program in JSP to get session id and cookie id. I have done the following to get session id. Please help me how to get the cookie id.

 
Paul Clapham
Sheriff
Posts: 21981
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You say "cookie id" as if there is exactly one cookie sent with the request. This is not necessarily the case. Would you like to clarify what you mean by that?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!