Saturday, March 24, 2012

Simple Cookie Question

When is the value of an authentication cookie sent from the browser to the
server - when the value is read from the Cookies collection? Or, is it
possible that the Cookies collection is populated immediately on the server
when a new browser session is created?
Thanks!the browser sends all relevant cookies on every page request. the server
reads the request cookies and creates the request cookie collection. there
is a response cookie collection (those cookies that will be sent back to the
browser). forms authentication adds the authentication cookie to every
respone (to bump the expir time)
-- bruce (sqlwork.com)
"Jeff" <A@.B.com> wrote in message
news:eVpimaULEHA.1388@.TK2MSFTNGP09.phx.gbl...
> When is the value of an authentication cookie sent from the browser to the
> server - when the value is read from the Cookies collection? Or, is it
> possible that the Cookies collection is populated immediately on the
server
> when a new browser session is created?
> Thanks!
>

0 comments:

Post a Comment