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.
In reply to Re: Cookie Problem
by dws
in thread Cookie Problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |