Forum Moderators: DixonJones
I have a question regarding cookies vs. sessions (which from what I understand use a form of cookies as well). I'm creating a form that checks for various things and I need to keep track of whether or not User X has filled out the form already. There is no database query option (ie. check to see if User X's e-mail address already exists in the DB), so I'm left with using cookies of some sort to tell whether or not User X has been there before.
My question is what is the difference between using a cookie (say, for maybe 1 week) versus using a session (which from what I understand uses a shorter cookie)? Is there a large difference in users who will accept one and not the other?
I appreciate any help. Thank you.
-Andrew