Ernest E Vogelsinger wrote:
> 
> At 22:38 24.11.2002, Alex said:
> --------------------[snip]--------------------
> >But my  main page, for instance mail.php, includes top.php and bottom.php.
> >But top.php must be processed each time because it prints on every page on
> >my site if the user has new messages. But if all pages are cached, then it's
> >always the cached version that's printed to the user, so even if he has new
> >mail, it doesn't show (because the page is directly taken from the cache
> >instead of being re-requested).
> >So I don't want this situation to happen, but i'd want users to be able to
> >make use of their back button without clearing the forms. Is there a
> >solution around this problem?
> --------------------[snip]--------------------
> 
> You can't have all of both worlds - either allow the browser to cache, then
> the form content will be still available from the <back> button. Or you
> disallow caching, then it won't.

Actually you can. Try using session variables.

Cheers,
Rob.
-- 
.---------------------------------------------.
| Worlds of Carnage - telnet wocmud.org 4000  |
:---------------------------------------------:
| Come visit a world of myth and legend where |
| fantastical creatures come to life and the  |
| stuff of nightmares grasp for your soul.    |
`---------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to