TomTees Posted October 4, 2010 Share Posted October 4, 2010 When a cookie expires what happens to it? Is it physically removed from your hard-drive? TomTees Quote Link to comment https://forums.phpfreaks.com/topic/215088-cookie-expiration/ Share on other sites More sharing options...
Alex Posted October 4, 2010 Share Posted October 4, 2010 Yes. Quote Link to comment https://forums.phpfreaks.com/topic/215088-cookie-expiration/#findComment-1118728 Share on other sites More sharing options...
TomTees Posted October 4, 2010 Author Share Posted October 4, 2010 Yes. Geesh! You were ready to trounce on that post quickly, weren't you?! "Yes, always and forever", or "Yes usually"? If the first, then is the reason most people's computers are littered with cookies is due to long expiration dates? TomTees Quote Link to comment https://forums.phpfreaks.com/topic/215088-cookie-expiration/#findComment-1118730 Share on other sites More sharing options...
PFMaBiSmAd Posted October 4, 2010 Share Posted October 4, 2010 Actually, cookies who's expiration date goes past are simply no longer valid and they are simply no longer sent to the server with the http request. Quote Link to comment https://forums.phpfreaks.com/topic/215088-cookie-expiration/#findComment-1118732 Share on other sites More sharing options...
Alex Posted October 4, 2010 Share Posted October 4, 2010 When cookies are actually physically deleted from the computer depends on the user-agent. Quote Link to comment https://forums.phpfreaks.com/topic/215088-cookie-expiration/#findComment-1118733 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.