94451
Sep 16, 2016
1351
1
0
Javascript Cookie ablaufdatum zurückgeben
Hallo ihr pros
ein Cookie mit Javascript erstellen ist nicht schwer.
http://www.w3schools.com/js/tryit.asp?filename=tryjs_cookie_username
aber gibt es denn eine Möglichkeit mein expire date (Ablaufdatum) zurückzugeben?
Vielen Dank
Gruß RoadRunner
ein Cookie mit Javascript erstellen ist nicht schwer.
http://www.w3schools.com/js/tryit.asp?filename=tryjs_cookie_username
aber gibt es denn eine Möglichkeit mein expire date (Ablaufdatum) zurückzugeben?
Vielen Dank
Gruß RoadRunner
Please also mark the comments that contributed to the solution of the article
Content-Key: 315443
Url: https://administrator.de/contentid/315443
Printed on: April 23, 2024 at 11:04 o'clock
1 Comment
http://stackoverflow.com/questions/1532193/reading-cookie-expiration-da ...
http://stackoverflow.com/questions/3274875/how-to-get-cookie-expiration ...
You could write the expiration date inside the value of the cookie splittet by a delimiter, and when you read it just split the value of the cookie to get data and date.
Regards
http://stackoverflow.com/questions/3274875/how-to-get-cookie-expiration ...
You could write the expiration date inside the value of the cookie splittet by a delimiter, and when you read it just split the value of the cookie to get data and date.
Regards