SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2007
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Back button - page expired

    I have an odd issue that I can't figure out what I'm doing wrong.

    I have a php page with a form, drop down box, send button. You select a category, and it takes you to a results page. After you click a result, it takes you to the details page. If I hit back on the details page, I get a "Webpage has expired" page in IE 7.

    If I hit refresh, it shows the results, but I have to go through that process to get it back.

    I don't know if this is a php issue, how I've designed my form, or what. Any thoughts? I googled the subject and found a bunch of stuff about people using meta tags to refresh, but that doesn't make any sense to me.

  2. #2
    SitePoint Enthusiast
    Join Date
    Nov 2007
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anoher quick note. I just tested it in firefox and it didn't do this.

  3. #3
    ✯✯✯ silver trophybronze trophy php_daemon's Avatar
    Join Date
    Mar 2006
    Posts
    5,284
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    If you use a form with a post method, it will do that. To avoid this either make a redirect in your target script or use get method instead.
    Saul


Bookmarks

Posting Permissions

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