Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8205141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T08:07:22+00:00 2026-06-07T08:07:22+00:00

I have a form where I am filing some informations in a wizard. This

  • 0

I have a form where I am filing some informations in a wizard. This page is reaching by POST and displayed with Smarty. Once I filed all the informations in, I am using another post to get to another page. Now, the problem is that when I am trying to go back with the BACK button, I am geting the “Document expired” message.

Is than a normal thing while I am using POST or?

I am trying right now to use GET but nothing changes, or my GET is written wrong.

Here is a small schema:

Page 1 -> POST -> Page 2 (wizard) -> POST -> Page 3

When I try to come back from page 3 to page 2, I am geting the doc expired.

Thank you very much for your help regarding my problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T08:07:24+00:00Added an answer on June 7, 2026 at 8:07 am

    http://en.wikipedia.org/wiki/Post/Redirect/Get

    In my opinion, you should do this for every POST, at least in production.

    Small example:

    if ('GET' == $_SERVER['REQUEST_METHOD']) {
       //display view
    }
    else if ('POST' == $_SERVER['REQUEST_METHOD']) {
       //process input
       //update session
       header('Location: /next/page/to/view', true, 303);
    }
    

    EDIT: Want to point out that this old post was referring to browser submissions. In a RESTful web service you would likely respond with a 201 for POST.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have form in my page, I am using ajax.beginform(). Inside this form I
For some reason my PDF upload form is failing consistently, I have this code:
Hello i have this form filling javascript: function onLine(code,nn) { document.writeform.bericht.value+=code; document.writeform.bericht.focus(); document.writeform.nickname.value+=nn; write1();
I have form, where some fields are looks like rows, so I can add/delete
I have form like this: <div class=satu> <input type='text' size='1' maxlength='1' name='score[1][]' id='score[1][]'> </div>
I have a situation where for some reason a Web page might refresh while
Say I have one full-page form, but within the form, there are two or
I use Eclipse RCP. I have created a form (ViewPart), this form does not
I have a batch class (KC8) which is using page/form recognition and separator zones
I have an input stream coming form a blackbox (say B). All the messages

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.