mrhenniger Posted June 19, 2009 Share Posted June 19, 2009 I posted this request for help here since the solution may involve PHP. I have been teaching myself PHP by reading a few books and web surfing, etc. I have a page which proivdes a form where users can enter values into a number of different categories and then searches a database for these values. The form submits to the same script/page on which the form is contained, i.e. self-posting (if this is the correct term). The advantage of this is the form is easily repopulated allowing the user make further changes if desired, and providing the search results below the form. Currently I only test on Firefox and IE (this is a hobby and time is limited). Firefox works with no problem. IE works some times, but in most cases it does not. Most of the time in IE the error message "Webpage has expired". This is quite an annoying problem, and it is frustrating to the users of my site. I have been recommending to them they switch to Firefox, and some are but IE is still the most widely used browser and I would very much like to deal with this problem so IE will work with my page. I should also mention this was not a problem some months ago, then Microsoft came out with one of these weekly patch updates which made the wheels fall off the cart. I have been Googling for a solution. It seems that a number of people had beeing dealing with this issue, but there seems to be no documented solution or work around. I found a couple of interesting possible "work arounds" but nothing fixed the problem. If you think you would like to see them problem for yourself in IE, go to... http://www.aerialvisuals.ca/Locator.php ...and enter "Ottawa" in the city category. You should have no problem obtaining results. Reset the form, then enter "Ontario" in the region category. If your experience is the same as me you will see the "Webpage has expired" error. If anyone would like to see some php code I would be happy to post some. I tried directing the form to another php page/script which extracted the for values, inserted them into session variables, and redirect back to the form page where the processing done and the page is displayed. In the end all I got was a blank page where I expected to see the form and the results. I have never used sessions explicitly before, so I may have been making an error. I also tried including a dummy random variale in the form's action URL ("http://www.aerialvisuals.ca/Locator.php?x=1mwusdna324") to try to make the browser think it is going to a new page. No dice with this either. Anyway... I am hoping that someone here has seen this problem before any may have some tips. I am not sure if the solution lays in PHP or something else. Looking forward to replies. Regards, Mike Link to comment https://forums.phpfreaks.com/topic/162941-ie-webpage-has-expired/ Share on other sites More sharing options...
947740 Posted June 19, 2009 Share Posted June 19, 2009 Ottawa didn't even work. Link to comment https://forums.phpfreaks.com/topic/162941-ie-webpage-has-expired/#findComment-859769 Share on other sites More sharing options...
mrhenniger Posted June 20, 2009 Author Share Posted June 20, 2009 Ok, that is embarrassing. During my troubleshooting I had commented out the very first line... ini_set('session.cache_limiter', 'private_no_expire'); ...which does seem to help things, but does not completely solve the problem (as outlined in my first post). Now you should find that it can complete a search when as city like Ottawa is used, but when a region like Ontario is used I get the "Webpage has expired" error. The same scripts/pages are used, so I don't know why IE is having so many problems. As before if anyone has any suggestions I would greatly appreciate it. Mike (a nearing desperate novice) Link to comment https://forums.phpfreaks.com/topic/162941-ie-webpage-has-expired/#findComment-859984 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.