Tech Off Post

Single Post Permalink

View Thread: Cookie Question
  • User profile image
    odujosh

    In some button click event:
    foreach
    (HttpCookie cookie in Request.Cookies)

    {

    cookie.Expires = DateTime.Now;

    }

    Say I am in PST as a client and the server is EST. Would my cookies expire now (percievable on next request) or in 3 hours?