Ask a Question related to PHP Development, Design and Development.
-
Victor Gil #1
Avoid "page has expired" message
Hi all,
I have a website with a classic search form. When i go to results page and
press the "back" button the message appears (The page has expired). As you
know, pressing F5 resends the form and everything works again.
The method I use is POST and don't want to use GET. In [url]www.easyjet.com[/url] for
example this doesn't happens and when you press "back", it returns to the
form and don't loose the search cryteria.
Any idea? I've tried sending some headers about cache, but it doesn't work.
this is what I tried:
$caducidad = 30 * 60; // 3 minutos
Header("Expires: " . gmdate("D, d M Y H:i:s", time() + $caducidad) . "GMT");
Victor Gil Guest
-
Longtime user, now getting the dreaded "You can't editthis page now because you are already editing it" message. Help!
I've successfully used Contribute with several sites and several web hosts. The site I'm having an issue with was built specifically for... -
CFChart - message: "Image Expired .."
BUMP... I am having the same issue -
WSE 2.0 SP2 - TimeZone, "Message Expired"
Hi! When I change TimeZone (emulating a user on the other side of the globe) my webservice returns following exception: ... -
Question about redirecting to a "session expired" page...
This may sound trivial but I cannot figure out how to do this... When a logged in user's session expires, I want that user redirected back to the... -
"Message Expired" Error
I have set the SoapContext.TimeStamp.TTL to '0' so it never dies. The server is in Spain and I am in the US. that is the only method. thanks... -
Žed Eye Media - Richard Grove #2
Re: Avoid "page has expired" message
"Victor Gil" <nopongo@mail.com> wrote in message
news:c64c1q$7unbb$1@ID-208022.news.uni-berlin.de...work.> Hi all,
>
> I have a website with a classic search form. When i go to results page and
> press the "back" button the message appears (The page has expired). As you
> know, pressing F5 resends the form and everything works again.
>
> The method I use is POST and don't want to use GET. In [url]www.easyjet.com[/url] for
> example this doesn't happens and when you press "back", it returns to the
> form and don't loose the search cryteria.
>
> Any idea? I've tried sending some headers about cache, but it doesn't"GMT");>
> this is what I tried:
> $caducidad = 30 * 60; // 3 minutos
> Header("Expires: " . gmdate("D, d M Y H:i:s", time() + $caducidad) .Why not just get rid of the header() call?>
>
>
RG
Žed Eye Media - Richard Grove Guest
-
Colin McKinnon #3
Re: Avoid "page has expired" message
Victor Gil spilled the following:
Don't use Microsoft Internet Explorer?> Hi all,
>
> I have a website with a classic search form. When i go to results page and
> press the "back" button the message appears (The page has expired). As you
> know, pressing F5 resends the form and everything works again.
>
> The method I use is POST and don't want to use GET. In [url]www.easyjet.com[/url] for
> example this doesn't happens and when you press "back", it returns to the
> form and don't loose the search cryteria.
>
> Any idea? I've tried sending some headers about cache, but it doesn't
> work.
>
> this is what I tried:
> $caducidad = 30 * 60; // 3 minutos
> Header("Expires: " . gmdate("D, d M Y H:i:s", time() + $caducidad) .
> "GMT");
C.
Colin McKinnon Guest
-
Victor Gil #4
Re: Avoid "page has expired" message
>
is this an advice????> Don't use Microsoft Internet Explorer?
>
> C.
I can't tell people what navigator to use...
Please anyone knows a solution? but a programming solution, please
Victor Gil Guest
-
John Murtari #5
Re: Avoid "page has expired" message
"Victor Gil" <nopongo@mail.com> writes:
Okay, we had the same problems on some projects where people> Hi all,
>
> I have a website with a classic search form. When i go to results page and
> press the "back" button the message appears (The page has expired). As you
> know, pressing F5 resends the form and everything works again.
>
> The method I use is POST and don't want to use GET. In [url]www.easyjet.com[/url] for
> example this doesn't happens and when you press "back", it returns to the
> form and don't loose the search cryteria.
>
> Any idea? I've tried sending some headers about cache, but it doesn't work.
>
> this is what I tried:
> $caducidad = 30 * 60; // 3 minutos
> Header("Expires: " . gmdate("D, d M Y H:i:s", time() + $caducidad) . "GMT");
>
want to go back a page and not get the expired message. The following
should do it, in this case we give them 5 minutes -- change as you
disire
header("Cache-Control: max-age=300, must-revalidate");
Hope this helps.
Best regards!
--
John
__________________________________________________ _________________
John Murtari Software Workshop Inc.
jmurtari@following domain 315.635-1968(x-211) "TheBook.Com" (TM)
[url]http://thebook.com/[/url]
John Murtari Guest



Reply With Quote

