eduardo_consolacion Posted August 17, 2007 Share Posted August 17, 2007 how would you create a date and time format in your page? how would you make this date and time not to change back to the previous time when you click the "BACK BUTTON" ? Meaning if you have a time like this: 13 of August, 2007 08:11 PM in one of your pages then when you continued it to the "next page" you will have assuming that time changed to this, 13 of August, 2007 08:12 PM and i forgot to do something in the previous page, the date and time format returns to the old time stating like this: 13 of August, 2007 08:11 PM when you could have: 13 of August, 2007 08:12 PM the updated time. how would you to that not having the old time or previous time in all of your web pages withour returning to the old time? I do hope you undesrtood what i meant? thank you Quote Link to comment https://forums.phpfreaks.com/topic/65434-date/ Share on other sites More sharing options...
keeB Posted August 17, 2007 Share Posted August 17, 2007 Don't support the back button BACK = Cached data, you can't control it. Quote Link to comment https://forums.phpfreaks.com/topic/65434-date/#findComment-326734 Share on other sites More sharing options...
l3asturd Posted August 17, 2007 Share Posted August 17, 2007 Problem here is when the user hits the back button it refreshed a page that is stored in cache. It doesn't reload the page, hence why the time is the "old" time. In fact, the time is exactly what time the page was loaded the first time. The only thing I can think of is to create navigation buttons on your page, so that when someone presses your back button, it actually reloads the page, creating a new time. I'm not sure of another way to fix this, but I'm sure some of these guys might have an idea. Quote Link to comment https://forums.phpfreaks.com/topic/65434-date/#findComment-326736 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.