Simple Cookie Question

Discussion in 'ASP .Net' started by Jeff, Apr 28, 2004.

  1. Jeff

    Jeff Guest

    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!
     
    Jeff, Apr 28, 2004
    #1
    1. Advertisements

  2. Jeff

    bruce barker Guest

    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" <> wrote in message
    news:...
    > 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!
    >
    >
     
    bruce barker, Apr 28, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ivan Demkovitch

    Simple question about cookie:

    Ivan Demkovitch, Dec 5, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    2,122
    bruce barker
    Dec 5, 2003
  2. Ben
    Replies:
    3
    Views:
    6,200
    Steven Cheng[MSFT]
    Jun 3, 2004
  3. Shapper

    Cookie and Session Cookie Questions.

    Shapper, Apr 27, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    770
  4. Alan Silver
    Replies:
    0
    Views:
    397
    Alan Silver
    Oct 6, 2005
  5. =?Utf-8?B?UGF1bA==?=

    Cookie Question (IP as domain and cookie file location)

    =?Utf-8?B?UGF1bA==?=, Jan 10, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    2,733
    Bruce Barker
    Jan 10, 2006
  6. ad
    Replies:
    2
    Views:
    8,765
    Kevin Spencer
    Jan 27, 2006
  7. Jimbo
    Replies:
    1
    Views:
    878
    Pierre Quentel
    Apr 8, 2010
  8. alex.kemsley

    simple javascript cookie question

    alex.kemsley, Sep 5, 2006, in forum: Javascript
    Replies:
    5
    Views:
    184
    Dr John Stockton
    Sep 6, 2006
Loading...