Web page has expired

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raaman rai
    New Member
    • Oct 2007
    • 114

    Web page has expired

    Guys i want some help in the given topic. Well i downloaded a login script from http://www.evolt.org/ and i have been using this script for my site.

    As i was working on with the script i got the "Web page expired" problem for which i searched the net and found out the solution as [HTML]ini_set('sessio n.cache_limiter ', 'private');[/HTML]. It get rid of the problem but when i log out from the admin control panel and click the back button, it still shows the admin panel which should not be. Infact when i was not using this solution, the script use to work fine which means if I logout and click the back button i could not enter the admin panel but it would show me the login screen. So what is the solution for my new problem. I wanna know is there any other ways by which i can get rid of the "Web page expired" issue and i dont wanna use the solution above which i have reffered to. Please advise me!

    By the way i dont wanna use the GET method either as a solution.
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    You cannot control this (as far as I know) because when someone uses the back button on their browser, it shows them a cached version of that page. If the user then starts to navigate around that page, they should encounter an error because (I'm assuming) you've destroyed the session on their log out.

    Kind regards.

    Comment

    • raaman rai
      New Member
      • Oct 2007
      • 114

      #3
      Yes i have unset the session on log out. Well then, what is the standard procedure followed in this type of situation?

      Ok i dont wanna use the " session.cache_l imiter " because my scripts works better except the "Web page expired" error is there. Now do i have any other solutions apart from GET method and the cache_limiter. I am sure there is a procedure to overcome this issue.

      If you could help me, i will give you a clear picture. I have page1 which has a form with months and year dropdown box from where i select a month and year and submit the form to page2 for processing. Page2 process the supplied value and generates only the records as per the supplied month and year. The records in page2 have corresponding hyperlinks to page3 which displays the records in more details. So it is how the pages works. Once i am in page3 and if i want to go back to page2 i get the above said error. Please suggest me with an appropiate advise and directions.

      Comment

      • Markus
        Recognized Expert Expert
        • Jun 2007
        • 6092

        #4
        Originally posted by raaman rai
        Yes i have unset the session on log out. Well then, what is the standard procedure followed in this type of situation?

        Ok i dont wanna use the " session.cache_l imiter " because my scripts works better except the "Web page expired" error is there. Now do i have any other solutions apart from GET method and the cache_limiter. I am sure there is a procedure to overcome this issue.

        If you could help me, i will give you a clear picture. I have page1 which has a form with months and year dropdown box from where i select a month and year and submit the form to page2 for processing. Page2 process the supplied value and generates only the records as per the supplied month and year. The records in page2 have corresponding hyperlinks to page3 which displays the records in more details. So it is how the pages works. Once i am in page3 and if i want to go back to page2 i get the above said error. Please suggest me with an appropiate advise and directions.
        The error you get 'webpage expired' is generated by the browser -- something you have no control over. In fact, this is helpful for you because it prevents users from going back to pages.

        Comment

        • pbmods
          Recognized Expert Expert
          • Apr 2007
          • 5821

          #5
          Heya, Raaman.

          You might find this article helpful: http://www.mnot.net/cache_docs/

          Comment

          Working...