Is it possible to check when the cookie file was created using a web based language like PHP or JS? Would this be useful in determining if a cookie has been copied from the original device it was set on to a new device?
Edit to clarify: I'm not asking about the cookie expiration date, I'm asking about the date the cookie file was created on the client device. For example in Windows OS a user can right click on a file and view properties such as Date Created.
For the purpose of user authentication via cookies, if the cookie uuid and the Date Created are both stored in a database and both verified later would this prevent the scenario where a third party intercepts the cookie and creates a copy on their own machine to impersonate another user? The Date Created would not be the same on the second machine even if the contents of the cookie are the same. Is this applicable/useful or unnecessary?