in reply to Cookie Problem
Browsers might refuse to accept persistent cookies, but most will accept "session" cookies. To set a session cookie, don't specify an -expires date. (But do specify a -domain.)
A common trick for determining wether a browser accepts persistent cookies is to do the following:
See merlyn's article Basic Cookie Management for more detail.
Also, it's not clear from your post whether $cpassword is encrypted or note. It's unwise to store an unencrypted password in a cookie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cookie Problem
by Aristotle (Chancellor) on Nov 02, 2002 at 06:23 UTC |