AuthenticationCooki.expires - 50 years?

Discussion in 'ASP .Net Security' started by Steffen Grau, Nov 24, 2003.

  1. Steffen Grau

    Steffen Grau Guest

    Hello,
    i have Trouble with the expires-property from an
    authentication-cookie.

    I create an authenticationcookie and make the change of the
    expire-property to 2 hours, before the redirect to the refferer URL
    started. Anyhow the expiredate from the cookie on the client is 50
    years in the future. In the tracing-mode I can see, that the
    authenticationcookie has an expire-date 50 years in the Future. After
    that I recall the cookie as http-cookie, change the expiretime onto 2
    hours an start at the end the redirect. That all makes no Changes to
    the cookie on the client - there I find a cookie with an expire-date
    50 years into the future.
    I dont know the mistake, can everybody give me an hint?

    Thank you,

    Steffen Grau
     
    Steffen Grau, Nov 24, 2003
    #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. Rahul Kansara

    session expires quickly

    Rahul Kansara, Nov 11, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    2,035
    alex bowers
    Nov 11, 2003
  2. Promenade

    Response.Expires and Response.Cache

    Promenade, Dec 5, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    30,881
    Promenade
    Dec 5, 2003
  3. Welman Jordan
    Replies:
    3
    Views:
    552
    Welman Jordan
    Feb 28, 2004
  4. Shimon Sim
    Replies:
    2
    Views:
    452
    Steven Cheng[MSFT]
    Apr 22, 2004
  5. =?Utf-8?B?Q2hyaXM=?=

    Response.Expires

    =?Utf-8?B?Q2hyaXM=?=, Jun 18, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    739
    =?Utf-8?B?Q2hyaXM=?=
    Jun 18, 2004
Loading...

Share This Page