Re: [PHP-DB] Warning: Page has Expired

2001-09-04 Thread Justin Buist

POST is no more secure, realistically, than the GET method.  Both pass
data around in plain-text form.

In a perfect world web browsers wouldn't cache pages which were POSTed to
as the HTTP specification says.  At least, that's my understanding of it.
Browsers -are- free to cache GET'ed pages though, because logically if the
URL is identical to the other one the same data will be returned.  So,
switching to GET makes sense, because so long as the URL is slightly
different each time the browser won't cache the page.

Of course, in the real world not all browsers were made to spec, and some
cache POSTed pages.  So, to the original poster:  It seems like your page
is doing the Right Thing... but your browser isn't.

Justin Buist
Trident Technology, Inc.
4700 60th St. SW, Suite 102
Grand Rapids, MI  49512
Ph. 616.554.2700
Fx. 616.554.3331
Mo. 616.291.2612

On Mon, 3 Sep 2001, olinux o wrote:

> I have the same troubles. I believe that the only
> solution is to use GET rather than POST as your FORM
> METHOD. There may be another way, but this may work
> fine, as long as you are not working with
> passwords/sensitive info.
>
> olinux
>
>
> --- Mad Nas <[EMAIL PROTECTED]> wrote:
> > Hi All
> >
> > I'm using PHP 4 and MySQL in W2K .
> >
> > When i submit a form and call a php file, i get this
> > message :
> >
> > __
> >
> > Warning: Page has Expired
>
>
> __
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Warning: Page has Expired

2001-09-04 Thread Jonathan Hilgeman

Actually, if you set it to be completely blank, it seems to let the browser
handle the cache. I did that and have never received a page like that since
then. I researched this for about 2-3 days straight, trying everything I
could find. This seems to be the best method. Every once in a while you will
get a cached page if you use your back button - but its extremely seldom.

- Jonathan

"Dave Watkinson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
look in php.ini (or whatever the Linux equivalent is) for
session.cache_limiter and set it to session.cache_limiter = nocache

HTH 8^D

Dave


-Original Message-
From: olinux o [mailto:[EMAIL PROTECTED]]
Sent: 03 September 2001 19:34
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Warning: Page has Expired


I have the same troubles. I believe that the only
solution is to use GET rather than POST as your FORM
METHOD. There may be another way, but this may work
fine, as long as you are not working with
passwords/sensitive info.

olinux


--- Mad Nas <[EMAIL PROTECTED]> wrote:
> Hi All
>
> I'm using PHP 4 and MySQL in W2K .
>
> When i submit a form and call a php file, i get this
> message :
>
> __
>
> Warning: Page has Expired


__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger
http://im.yahoo.com

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] Warning: Page has Expired

2001-09-04 Thread Rick Emery

I consistently use the POST method when submitting a form to a PHP script.
I seldom use GET.

-Original Message-
From: olinux o [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 1:34 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Warning: Page has Expired


I have the same troubles. I believe that the only
solution is to use GET rather than POST as your FORM
METHOD. There may be another way, but this may work
fine, as long as you are not working with
passwords/sensitive info.

olinux


--- Mad Nas <[EMAIL PROTECTED]> wrote:
> Hi All
> 
> I'm using PHP 4 and MySQL in W2K .
> 
> When i submit a form and call a php file, i get this
> message :
> 
> __
> 
> Warning: Page has Expired


__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] Warning: Page has Expired

2001-09-03 Thread Dave Watkinson

look in php.ini (or whatever the Linux equivalent is) for
session.cache_limiter and set it to session.cache_limiter = nocache

HTH 8^D

Dave


-Original Message-
From: olinux o [mailto:[EMAIL PROTECTED]]
Sent: 03 September 2001 19:34
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Warning: Page has Expired


I have the same troubles. I believe that the only
solution is to use GET rather than POST as your FORM
METHOD. There may be another way, but this may work
fine, as long as you are not working with
passwords/sensitive info.

olinux


--- Mad Nas <[EMAIL PROTECTED]> wrote:
> Hi All
> 
> I'm using PHP 4 and MySQL in W2K .
> 
> When i submit a form and call a php file, i get this
> message :
> 
> __
> 
> Warning: Page has Expired


__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger
http://im.yahoo.com

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Warning: Page has Expired

2001-09-03 Thread olinux o

I have the same troubles. I believe that the only
solution is to use GET rather than POST as your FORM
METHOD. There may be another way, but this may work
fine, as long as you are not working with
passwords/sensitive info.

olinux


--- Mad Nas <[EMAIL PROTECTED]> wrote:
> Hi All
> 
> I'm using PHP 4 and MySQL in W2K .
> 
> When i submit a form and call a php file, i get this
> message :
> 
> __
> 
> Warning: Page has Expired


__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] Warning: Page has Expired

2001-07-11 Thread Ben Bleything

Keith,

I believe this happens because most browsers feel that it is important
to regenerate any page that was generated with form input when you go
'Back' to it.  

Therefore, there's not much you can do about it... I suppose you could
make links from the expiring page open in new windows, so they could
just close the window and it will be okay... but that's not a very good
solution either, is it  =>

Good luck,
Ben

-Original Message-
From: Keith Spiller [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 11, 2001 6:43 AM
To: Php-db
Subject: [PHP-DB] Warning: Page has Expired

I've setup a members directory in mysql that is searchable via different
field and I limit the number of records.
I use session variables to remember the number of records to display,
what the starting record is, what the
search string and search fields are.  At anytime a user can click on an
id number to do a Select statement
that queries for that single row of data.  Afterward, if the user hits
their browsers back button I get:

"Warning: Page has Expired"

I've noticed allot of sites just ask the user to not use the back
button.  I'm curious if this is caused by an
error in my code or because I used session variables that might have
changed in the last MySQL select
query.  So that when you hit back, the browser is using some sort of
cached data while still loading the
php code?  I'm very confused at this point.  Is there anything I can do
to prevent the "Expired Page" warning,
rather than expecting my viewers to learn to do without it.


Keith Spiller
[EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]