Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

page expiration

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  Request for setting up secure access to documents  
Author Message
rchin1

External


Since: Apr 16, 2004
Posts: 5



(Msg. 1) Posted: Thu Apr 22, 2004 3:08 pm
Post subject: page expiration
Archived from groups: alt>www>webmaster, others (more info?)

IE6

a user of a web database app I support complains about getting the
"This page has expired" page when paging back. So he has to
refresh (and process re-run)

But It does not happen on my system. I don't get the expiration page.
How do I fix this ?

Thanks

 >> Stay informed about: page expiration 
Back to top
Login to vote
jaspamc

External


Since: Jul 29, 2003
Posts: 96



(Msg. 2) Posted: Thu Apr 22, 2004 3:14 pm
Post subject: Re: page expiration [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 22 Apr 2004 12:08:04 -0400, "Rob C" <rchin.TakeThisOut@panix.com> found these
unused words floating about:

 >IE6
 >
 >a user of a web database app I support complains about getting the
 >"This page has expired" page when paging back. So he has to
 >refresh (and process re-run)
 >
 >But It does not happen on my system. I don't get the expiration page.
 >How do I fix this ?
 >
 >Thanks
 >
Have the user check -his- settings for buffer size and history.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: page expiration 
Back to top
Login to vote
rchin1

External


Since: Apr 16, 2004
Posts: 5



(Msg. 3) Posted: Thu Apr 22, 2004 9:06 pm
Post subject: Re: page expiration [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

thanks, you provided what to me was a vague "tip"
but in further googling I found the specific instruction pointing to
"clear temporary Internet files" and that solves it.

  > >
 > Have the user check -his- settings for buffer size and history.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: page expiration 
Back to top
Login to vote
news9

External


Since: Jul 01, 2003
Posts: 11



(Msg. 4) Posted: Fri Apr 23, 2004 2:49 am
Post subject: Re: page expiration [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 22 Apr 2004 12:08:04 -0400, "Rob C" <rchin RemoveThis @panix.com> wrote:

 >a user of a web database app I support complains about getting the
 >"This page has expired" page when paging back. So he has to
 >refresh (and process re-run)

He is almost certainly using IE - 5.x IIRC - do a Google search for
"This page has expired" and IE. If that doesn't work search for
"cache-control". If your host allows you to change the cache headers
in your page's responses you can block the IE error. It's a few years
since I looked at the details, hence this is a little vague.)

However, if refreshing causes "process re-run", you should look at
either (a) issuing a HTTP level re-direct [1] after the script has
processed to prevent the same data being submitted twice or (b) some
form of session/status management to detect duplicate submissions [2].

[1] To a separate "results page", rather than displaying the "results"
from the same script that processes the input.

[2] If users are logged in you could add a username/date/time MD5 hash
as a hidden field in the submission form.

--
------------------------------------------------------------------
- Stuart Millington ALL HTML e-mail rejected -
- mailto:phupp@dsv1.co.uk <a style='text-decoration: underline;' href="http://w3.z-add.co.uk/" target="_blank">http://w3.z-add.co.uk/</a> -
begin OE is broken read MS knowledgebase Q265230<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: page expiration 
Back to top
Login to vote
eric2

External


Since: Apr 24, 2004
Posts: 1



(Msg. 5) Posted: Sun Apr 25, 2004 1:31 am
Post subject: Re: page expiration [Login to view extended thread Info.]
Archived from groups: alt>www>webmaster (more info?)

You need to enable some kind of cache-control headers set to
"private". This is usually caused by like PHP and Session
support. At the top of your PHP script, put:

header("Cache-control: private");

before any HTML or white space is echoed to the form and this should
fix your problem.





-------------------------------------------------------
The post originated from WebHost Freaks:
-------------------------------------------------------
http://www.webhostfreaks.com
http://www.webhostfreaks.com/webmaster-resources
 >> Stay informed about: page expiration 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
New Page won't come up. - I run a site for my group. From the main page, there is a link to the group's history (page name 'history.html') The member writing it sent me an updated version, which I uploaded (replacing the previous version). Many members are telling me they continu...

Best designed web page ever - <http://tinyurl.com/2uppo> Be sure to scroll down to the blue text on the blue background! Anna

Why isn't this page appearing? - The directory exists and the file exists: http://timchuma.com/photos/crybabytote/index.htm For some reason it keeps coming up as a 404 on my computer. This file also won't record any changes I make to it: http://timchuma.com/photos/ The site is hosted...

3D page border using css? - Can I make a border for the whole page using css? _______________________ | | | | | | | ...

Page Width - Is there any way of setting the page width to account for all possibilities? I ask this because my cancer website is utilized by people that may, or may not, have visual impairment. These people may have their computers set up to give them the highest..
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]