tibberous Posted September 18, 2007 Share Posted September 18, 2007 I have changed the login code for a forum but imagine a lot of the users has a cookie already set. Is there some way I can see when I cookie was made and delete it if it is older than a specific date? Link to comment https://forums.phpfreaks.com/topic/69816-deleting-a-cookie-that-was-made-before-a-certain-date/ Share on other sites More sharing options...
freakstyle Posted September 18, 2007 Share Posted September 18, 2007 you could look at the expired date for that cookie, assuming you set it to begin with. will users be able to log in automatically if they have the old cookie set? if so just change the cookie name that your app uses and call it a night/ mornign Link to comment https://forums.phpfreaks.com/topic/69816-deleting-a-cookie-that-was-made-before-a-certain-date/#findComment-350721 Share on other sites More sharing options...
Fadion Posted September 19, 2007 Share Posted September 19, 2007 I guess there's no method of getting the cookie creation date. Link to comment https://forums.phpfreaks.com/topic/69816-deleting-a-cookie-that-was-made-before-a-certain-date/#findComment-350754 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.