Page has expired -problem

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Page has expired -problem

    Hi!
    I have Windows XP&IE6.0.2... (SP1).

    I'm coding one project with PHP.
    I get "Warning: Page has Expired" when I try to get back to the "POSTed
    page" (page whither moved from FORM-page).

    Better explanation:
    - Pages are:
    * Page A: Front-page
    * Page B: Page where is www-FORM

    #1.) From Page "A" I move to the page "B" by clicking link on page "A" and I
    fill the form's fields
    #2.) Then I click SUBMIT-button and I moved back to the page "A"
    #3.) I move to the page "B" by clicking link on page "A"
    #4.) I click "BACK"-button from browser
    #5.) I got "Warning: Page has Expired"


    I want that when I click BACK, I will be moved to the page "A" straightly
    without warning
    (of course then post-data can't get re-sent)

    Got any idea how in PHP I can prevent this warning?

    Thanks in advance!

    Best regards,
    Jarkko Kähkönen


    Jarkko Kähkönen Guest

  2. Similar Questions and Discussions

    1. Warning: Page has Expired
      Hi, I get the following message when the back-button is clicked "Warning: Page has Expired". This message only appeared after I used the following...
    2. Page Has Expired Message in between the php Page When I click Back in Explorer Menu
      Could anyone please help me on this?? I have a php script page, which is basically quiz. Visitors (after login in with their email address) are...
    3. Page has Expired, BACK-button -problem
      Hi! I have Windows XP&IE6.0.2... (SP1). I'm coding one project with PHP. I get "Warning: Page has Expired" when I try to get back to the "POSTed...
    4. Prevent 'Page has expired' when a client hits back to return to a search page
      I have a search page that I want to enable private caching so that when a user hits the back button they dont get the page has expired error. I...
    5. Warning Page Has Expired, I need to turn it OFF for a simple search page
      You can't turn it off. If you understand the reason for it, then you know that the Back button or Refresh button of a browser makes a new request...
  3. #2

    Default Re: Page has expired -problem

    Jarkko Kähkönen wrote:
    > Hi!
    > I have Windows XP&IE6.0.2... (SP1).
    >
    > I'm coding one project with PHP.
    > I get "Warning: Page has Expired" when I try to get back to the "POSTed
    > page" (page whither moved from FORM-page).
    >
    <snip>
    >
    > I want that when I click BACK, I will be moved to the page "A" straightly
    > without warning
    > (of course then post-data can't get re-sent)
    >
    > Got any idea how in PHP I can prevent this warning?
    >
    Stop outputting "This page has already expired" headers in the first page.

    --
    Matt Mitchell - AskMeNoQuestions
    Dynamic Website Development and Marketing
    Matty Guest

  4. #3

    Default Re: Page has expired -problem

    "Jarkko Kähkönen" <jarkko@kahkonen.com> wrote in message
    news:blegp9$crd$1@mordred.cc.jyu.fi...
    > Hi!
    > I have Windows XP&IE6.0.2... (SP1).
    >
    > I'm coding one project with PHP.
    > I get "Warning: Page has Expired" when I try to get back to the "POSTed
    > page" (page whither moved from FORM-page).
    >
    > Better explanation:
    > - Pages are:
    > * Page A: Front-page
    > * Page B: Page where is www-FORM
    >
    > #1.) From Page "A" I move to the page "B" by clicking link on page "A" and
    I
    > fill the form's fields
    > #2.) Then I click SUBMIT-button and I moved back to the page "A"
    > #3.) I move to the page "B" by clicking link on page "A"
    > #4.) I click "BACK"-button from browser
    > #5.) I got "Warning: Page has Expired"
    >
    >
    > I want that when I click BACK, I will be moved to the page "A" straightly
    > without warning
    > (of course then post-data can't get re-sent)
    >
    > Got any idea how in PHP I can prevent this warning?
    >
    > Thanks in advance!
    >
    > Best regards,
    > Jarkko Kähkönen
    This is behaviour by design. At other times at other sites you 'll be
    thankful for it. Especially when combined with get variables, websites may
    still re-process your form when the page is reloaded.
    The workaround is to skip the resulting page in the history build-up of the
    browser. Post your data to a page which outputs some http_equiv redirect or
    location.replace to a page which will allow returns.
    Ivo



    Ivo Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139