hi,
i'm new to php world.
i'm using "post" method.
when i submit it,data goes to database successfully.
BUT when i click the back button of browser(IE) the previous
page will appear.
how can i expire the submitted page using session.
please send the code.
how can i expire the submitted page using session.
Moderator: General Moderators
Re: how can i expire the submitted page using session.
When the form page is requested, check for the existence of a session variable (like $_SESSION['HasBeenSubmitted']). If the flag (variable) is not set, display the page. If the flag is set, do something else. Set the flag (assign it a value) when processing the submitted form data.
Edit: This post was recovered from search engine cache.
Edit: This post was recovered from search engine cache.
Last edited by McInfo on Thu Jun 17, 2010 1:10 pm, edited 1 time in total.
Re: how can i expire the submitted page using session.
Thanks sir,
I have done it.
Thank you very much.
I have done it.
Thank you very much.