browser cookie issue

Posted by George2 on Stack Overflow See other posts from Stack Overflow or by George2
Published on 2010-06-02T04:58:32Z Indexed on 2010/06/02 5:03 UTC
Read the original article Hit count: 312

Filed under:
|
|

Hello everyone,

In my previous understanding, for a web site, only login user of a web site (no matter what login/authentication approach is used) could have cookie as persistent identifier, so that if the user close the browser, open browser again to go to the same web site, the web site could remember the user.

But I learned recently that it seems for non-login user, there could still be a cookie associated with the user (after the user close browser, and then open the browser again to go to the same web site, the web site could remember the user), and it is called browser cookie? Is that true?

If it is true, who is responsible to set the browser cookie? i.e. need some coding/config at web server side, client browser configuration (without coding from server side), or both? How could web server access such cookie? Appreciate if any code samples.

thanks in advance, George

© Stack Overflow or respective owner

Related posts about http

Related posts about cookies