in reply to Extracting the cookie value
Please tell me I'm misunderstanding your intentions. You're not going to store a user name and password in your cookie, are you? If so, let me visit your site with my friend JavaScript ;) You'd be much better served by storing a unique (and very hard to guess) session ID in the user's cookie, then looking up information about that session from something on the server (database, file, etc.). Much more efficient, much more secure.
See Mr. Muskrat's code for how to read the cookie properly. Excellent suggestion, ++ to him :)
Cheers!
MrCromeDome
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Extracting the cookie value
by BUU (Prior) on Aug 08, 2003 at 02:22 UTC | |
by MrCromeDome (Deacon) on Aug 08, 2003 at 02:25 UTC |