Nguyen Nguyen
Nguyen Nguyen

Reputation: 29

Servlet: weird cookie string

I'm running my servlet on Tomcat 7. When retrieving cookies with the request.getCookies(); the values returned are weird strings "8267663C31A2F33C16B7C0D864874DC4"

Can anyone tell me what this is?

Output from 2 text form data:

8267663C31A2F33C16B7C0D864874DC4

test

test

8267663C31A2F33C16B7C0D864874DC4

Thanks,

Nguyen

Upvotes: 2

Views: 170

Answers (2)

Sanjay T. Sharma
Sanjay T. Sharma

Reputation: 23248

Probably looks like a jsessionid used for associating a given user with a servlet session on the server side.

Upvotes: 1

Costi Ciudatu
Costi Ciudatu

Reputation: 38265

That looks very much like a session ID. Is the name of that cookie "JSESSIONID" ?

Upvotes: 5

Related Questions