how does phpbb3 autorefresh on browser backstep?

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Anti-Spam Guide
Post Reply
asinshesq
Registered User
Posts: 6266
Joined: Sun Feb 22, 2004 9:34 pm
Location: NYC
Name: Alan

how does phpbb3 autorefresh on browser backstep?

Post by asinshesq »

One thing that strikes me as pretty cool is that when you start on viewforum, click to open a topic and then use the browser backstep button to go back to viewforum, phpbb3 refreshes the viewforum page so that you can see whatever changes may have occurred in the topic list (and unread flag status) since when you clicked into the topic.

How does phpbb3 tell the browser to do that?
User avatar
Drexion
Former Team Member
Posts: 8892
Joined: Sat Jan 25, 2003 9:54 pm
Location: City 17

Re: how does phpbb3 autorefresh on browser backstep?

Post by Drexion »

With "cache-control", "no-cache" and "no-store".
You can google for tutorials on their use. Header function in PHP Manual.

These tags are used in various specific places in the phpBB software. Note that the client (the user's browser) can probably be configured to ignore those tags.
Post Reply

Return to “phpBB Discussion”