question about cookies

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dsick
Forum Commoner
Posts: 57
Joined: Fri Mar 27, 2009 3:34 pm

question about cookies

Post by dsick »

can cookies last forever.. even if the user deletes them?

an application im working on needs a perm way to store the users username

because im updating the database based on the username from the cookie...
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: question about cookies

Post by jackpf »

No, if the user deletes them they obviously won't exist anymore.

Make them log in.
Post Reply