Cookies not working in another window

Discussion in 'ASP General' started by Seth, Jun 27, 2004.

  1. Seth

    Seth Guest

    Hi. I'm creating a cookie and can read the cookie fine when I use the same
    IE windows on a different page. But I can't read it when I use the different
    page in another IE window. Anyone got any ideas what I'm doing wrong?

    I'm creating the cookie like this:
    Response.Cookies("cookie").Domain = "domain.com"
    Response.Cookies("cookie").Path = "/"
    Response.Cookies("cookie") = "some text"

    And trying to read the value like this:
    response.Write(Request.Cookies("cookie"))

    TIA
    Seth, Jun 27, 2004
    #1
    1. Advertising

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. Alex Nitulescu

    Response.Cookies vs Request.Cookies

    Alex Nitulescu, Feb 3, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    8,451
    Hans Kesting
    Feb 3, 2005
  2. Martin Heuckeroth
    Replies:
    5
    Views:
    667
    JiangZemin
    Apr 1, 2005
  3. Andy Fish
    Replies:
    3
    Views:
    6,501
    Fredrik Lindner
    Nov 6, 2003
  4. _Who
    Replies:
    7
    Views:
    2,630
  5. Crunch Hardtack
    Replies:
    0
    Views:
    101
    Crunch Hardtack
    Jul 14, 2005
Loading...

Share This Page