Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer
available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
How can I get rid of this in my php pages - that is, if there is no real form that people are going to resubmit....
TIA
- Nicolaas 7 3592
WindAndWaves wrote: Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
This happens when the browser is asked to reload a page fetched with the
POST method (e.g. a submitted form). How can I get rid of this in my php pages - that is, if there is no real form that people are going to resubmit....
When receiving the contents of a form, use
header("Location: http://yourserver/yourpath/form_done");
to redirect the browser to another page, which will be fetched via GET
and is "safe" to reload. TIA
- Nicolaas
"Dani CS" <co*****************@yahoo.es.quita-la-merluza> wrote in message news:ct**********@news.ya.com... WindAndWaves wrote: Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
This happens when the browser is asked to reload a page fetched with the POST method (e.g. a submitted form).
How can I get rid of this in my php pages - that is, if there is no real form that people are going to resubmit....
When receiving the contents of a form, use
header("Location: http://yourserver/yourpath/form_done");
to redirect the browser to another page, which will be fetched via GET and is "safe" to reload.
so i should have
form.php with ....
<?php if ($_POST("submit") {
header("Location: formdone.php");
}
?>
<FORM METHOD="get" ACTION="form.php">
..... and formdone.php with ....
$answerfromform = $_POST("content")
???
-TIA
- Nicolaas
WindAndWaves wrote: "Dani CS" <co*****************@yahoo.es.quita-la-merluza> wrote in message news:ct**********@news.ya.com...
WindAndWaves wrote:
Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
This happens when the browser is asked to reload a page fetched with the POST method (e.g. a submitted form).
How can I get rid of this in my php pages - that is, if there is no real form that people are going to resubmit....
When receiving the contents of a form, use
header("Location: http://yourserver/yourpath/form_done");
to redirect the browser to another page, which will be fetched via GET and is "safe" to reload.
so i should have
form.php with ....
<?php if ($_POST("submit") { header("Location: formdone.php"); } ?> <FORM METHOD="get" ACTION="form.php">
.... and formdone.php with ....
$answerfromform = $_POST("content")
???
-TIA
- Nicolaas
You may want to look into the HTTP specifications as well. There are
many little tidbits in there that may prove useful.
Best regards,
Amir Khawaja.
-------------------------
Rules are written for those who lack the ability to truly reason, But
for those who can, the rules become nothing more than guidelines, And
live their lives governed not by rules but by reason.
- James McGuigan
WindAndWaves wrote: "Dani CS" <co*****************@yahoo.es.quita-la-merluza> wrote in message news:ct**********@news.ya.com...
WindAndWaves wrote:
Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button. This happens when the browser is asked to reload a page fetched with the POST method (e.g. a submitted form).
How can I get rid of this in my php pages - that is, if there is no real form that people are going to resubmit....
When receiving the contents of a form, use
header("Location: http://yourserver/yourpath/form_done");
to redirect the browser to another page, which will be fetched via GET and is "safe" to reload.
so i should have
form.php with ....
<?php if ($_POST("submit") {
$answerfromform = $_POST['content']; // you should do this here
header("Location: formdone.php"); } ?> <FORM METHOD="get" ACTION="form.php">
----------------^ // If you use 'get' here, the problem you stated on
the first post won't happen. That problem happens when you use 'post'
(and yes, there are reasons good enough to use 'post'; take the advice
given by Amir Khawaja and read about the HTTP protocol. In short, you
want to use 'get' when the processing of the form doesn't involve
changes in your data (e.g. web searches, customized content), and you
want to use 'post' when inserting/deleting/updating data (e.g. creating
a new user, inserting a post into a blog). .... and formdone.php with ....
$answerfromform = $_POST("content")
----^ // not here
You can validate the input from the user only in form.php (because you
have <form action="form.php">. When you use header("Location: ...") to
redirect the browser, the form data doesn't get passed over to the new
page (you could manually achieve it if you had the need to).
???
-TIA
- Nicolaas
"WindAndWaves" <ac****@ngaru.com> writes: Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
How can I get rid of this in my php pages - that is, if there is no real form that people are going to resubmit.... http://shiflett.org/articles/guru-speak-nov2004
--
Raj Shekhar System Administrator, programmer and slacker home : http://rajshekhar.net blog : http://rajshekhar.net/blog/
"Raj Shekhar" <ra*****@rajshekhar.net> wrote in message news:m3************@aragorn.rajshekhar.net... "WindAndWaves" <ac****@ngaru.com> writes:
Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
How can I get rid of this in my php pages - that is, if there is no real form that people are going to resubmit.... http://shiflett.org/articles/guru-speak-nov2004
-- Raj Shekhar System Administrator, programmer and slacker home : http://rajshekhar.net blog : http://rajshekhar.net/blog/
wow that was a really good explanation... thank you.
WindAndWaves wrote: Warning: Page has Expired The page you requested was created using
information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not
automatically resubmit your information for you. To resubmit your information and view this Web page, click the
Refresh button. How can I get rid of this in my php pages - that is, if there is no
real form that people are going to resubmit....
<http://groups.google.com/gr*******************************************@post ing.google.com>
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: James |
last post by:
I have a from with 2 fields:
Company & Name
Depening which is completed, one of the following queries will be run:
if($Company){
$query = "Select C*
From tblsample
Where ID = $Company...
|
by: Scott D |
last post by:
I am trying to check and see if a field is posted or not, if not
posted then assign $location which is a session variable to
$location_other. If it is posted then just assign it to...
|
by: Nick |
last post by:
Can someone please tell me how to access elements from a multiple
selection list? From what ive read on other posts, this is correct. I
keep getting an "Undefined variable" error though...
Form...
|
by: Alexander Ross |
last post by:
I have a variable ($x) that can have 50 different (string) values. I want
to check for 7 of those values and do something based on it ... as I see it
I have 2 options:
1) if (($x=="one") ||...
|
by: Dan Foley |
last post by:
This script runs fine, but I'd like to know why it's so slow.. Thanks
for any help out there on how i can make it faster (it might take up
to 5 min to write these 3 export files whith 15 records...
| |
by: Lee Redeem |
last post by:
Hi there
I've created abd uploaded this basic PHP script:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<H1 align="center">
|
by: christopher vogt |
last post by:
Hi,
i'm wondering if there is something like $this-> to call a method inside
another method of the same class without using the classname in front.
I actually use
class TEST
{
function...
|
by: Phil Powell |
last post by:
Ok guys, here we go again!
SELECT s.nnet_produkt_storrelse_navn
FROM nnet_produkt_storrelse s, nnet_produkt_varegruppe v,
nnet_storrelse_varegruppe_assoc sv, nnet_produkt p
WHERE...
|
by: Michel |
last post by:
a site like this
http://www.dvdzone2.com/dvd
Can you make it in PHP and MySQL within 6 weeks?
If so, send me your price
2 a r a (at) p a n d o r a . b e
|
by: Maciej Nadolski |
last post by:
Hi!
I can`t understand what php wants from me:( So:
Cannot send session cache limiter - headers already sent (output started at
/home/krecik/public_html/silnik.php:208) in...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |