TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Absolute Beginners (http://www.talkphp.com/absolute-beginners/)
-   -   PHP form submission (http://www.talkphp.com/absolute-beginners/4024-php-form-submission.html)

Farmer 03-06-2009 12:57 PM

PHP form submission
 
I am having quite a problem when it comes to forms. well i have 3 files.

- login.php
- checklogin.php
- logoout.php

i am not using any session or cookie rite now. I am able to login [login.php -> checklogin.php -> logout.php] but when i press the back button of the browser from logout -> checklogin. It wants me to re-submit the information, which i don't want to.



Is there any way to just show the checklogin file so that i can tell the user the form has not been submitted?

Wildhoney 03-06-2009 02:26 PM

It is because checklogin.php is a POST request. If you forward the user to a GET page after they have successfully logged in then you will not have this issue. Any POST page that you navigate back to will display this message, however.


All times are GMT. The time now is 04:11 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0