What I read so far:
1) Create another cookie to hold the expire time.
-I don't want to use that because i do not intend to do it, simple enough.
2) I don't really understand this area but I read that there is a way to play with the header, and maybe get the expire time.
By using the XMLHttpRequest.
Maybe you have some ideas?