tags:

views:

19

answers:

1

Hi, I have some special cookies. I need those cookie was set by server code only. So I need to find out that cookie was set by javascript or server code. Is it possible?

+2  A: 

Technically speaking you could not determine this information. One way to try would be to hash the value out using like sha1/md5 and use a session on the server side to store the same value and assert the hashes match.

Could you explain a bit more about what you are trying to do though and perhaps some sort of solution is possible.

Chris