Fred Atkinson wrote:
> I want to utilize cookies for security.
This is an oxymoron.
> The idea is that to access a secret page, you must have a cookie on
> your PC that allows you to see that page.
Uh-uh, dangerous! I can make my own cookies, all I need to know is what
that page expects. It's sort of a "security through obscurity" method -
good enough to stop wannabe newbies, but nothing you should use to
protect important things.
A better way would (IMHO) be HTTP Basic Authentication; it's easy to
understand, easy to use, and good enough for many purposes. There are
even more secure solutions, of course. How it works on the Apache server
is explained here: <http://httpd.apache.org/docs/howto/auth.html>. Ask
your host for how it works on your server.
> Can anyone tell me how to do this or give me a URL that explains how
> to do it?
<http://www.cookiecentral.com/>
Matthias<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Coding Cookies