PDA

View Full Version : Need help with cookies on my website


blu87
02-21-2007, 11:37 PM
I have a website and when users visit that site, I'd like to put a cookie on their computer. Then I'd like to retreive the cookie so I can actually view it. How would I go about doing that?

I've been all over Google searching but I still can't find a way to retrieve the cookie.

Spock
02-22-2007, 08:38 AM
You can't retrieve the cookies unless you create a program to transmitt information from their computer to yours. This is known as spyware and is frowned upon. You cannot retrieve the cookies you have now because they are stored on the recipients computer, not yours.

The only reason to look at such cookies would be to retrieve usernames and passwords for the application the cookie was used for. I think it best if you drop this line of questioning now. :)

Terminator1138
02-23-2007, 06:15 AM
Hmm, well you should already know the cookie on the machine as you would be the one to actually set it on your site dynamically like remember password to your site and visitor status etc. What you are thinking of I bet is to see where they have been in comparison to yours. As Spock stated, you cannot retrieve information like that from another machine as its highly unethical and with todays web, word spreads quickly about malicious programs that retrieve information from machines to you.

If you mean about your own cookies that you set from your site then that discussion is fine however if you are referring to other site cookies then this topic will quickly be closed down.