473,396 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Web page expired message display when click on IE7's Back button

Hi,

I have one problem regarding search & search results page in IE & Firefox.
A code in both pages written in Php & database in MySQL

Problem :

When i selected one or more checkbox & dropdown items on search page & click on GO button then search result page open. & when i click on browser's BACK button then in IE "Web Page Expired" message dispayed & in firefox the search page dispaly.

also i want when i come back to previous page the previously selected itmes stay as it is. ( selected items shoud be selected when i come back).

Pls. help me.

Thanks
Sarvesh
php dev.
Feb 13 '07 #1
4 16085
devsusen
136 100+
Hi,

When i selected one or more checkbox & dropdown items on search page & click on GO button then search result page open. & when i click on browser's BACK button then in IE "Web Page Expired" message dispayed & in firefox the search page dispaly.
Are you using any php script while generating the search page? I mean if your search page is a .php file then IE normally expire the session for the page. If its a normal HTML page then you shouldn't have this problem.

Susen
Feb 13 '07 #2
hi,

I have a search page with some checkboxes & dropdown lists.

& used only php coding with html.
But when i came back by clicking browser's back button from search results page to search page :

1) IE shows "web page expired" message & again cliking on back button then display search page with previously selected checkboxes r unchecked.

2) In firefox automatically come back on search page. but selected checkboxes shows unchecked.

Pls. send javascript code or any php code for handaling browser problem & select problem.

Thanks,
Sarvesh
Feb 13 '07 #3
Motoma
3,237 Expert 2GB
Two solutions:
a) hit your refresh button.
b) code the search to use $_GET rather than $_POST
Feb 13 '07 #4
jojet
1
Another option is to emit headers from PHP which allows IE etc to cache the search results page for a little while

e.g.

header('Pragma: ' . 'public');
header("Cache-Control: public");
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+(60*10)) . ' GMT'

I had the "page expired" problem and this allows me to back button back to the PHP search results page.

Performing another search gives you fresh results to this doesn't clog up your cache or anything.

Joel
Nov 30 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Jarkko Kähkönen | last post by:
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). ...
4
by: John | last post by:
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 supposed to answer each question, and when they...
16
by: Dave Smithz | last post by:
Hi, In summary: I want to a form to submit information via a HTTP POST, however, when using Internet Explorer I want to be able to use the back button and all the information retained....
12
by: VB Programmer | last post by:
I know some sites will display the following message if you click on the BACK button in your browser. How do I implement this feature? Warning: Page has Expired The page you requested was...
2
by: James | last post by:
I've been to websites where if I navigate off a form, trying to get back to it by hitting the back button gives me a page which says "Warning, page has expired". It doesn't display the page. I've...
2
by: bri | last post by:
Hi, I have built an asp.net web app on an intranet, some users are receiving the error below when they navigate back to a search form. The search form postbacks to itself and displays the...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
1
by: Bill Faulk | last post by:
I want to avoid letting users use the back button on forms with multiple postbacks so I use Response.Cache.SetNoStore() for these pages. This works fine for IE7 and Firefox by showing the desired...
3
by: =?Utf-8?B?cHJhZGVlcF9UUA==?= | last post by:
Hi All, Can anyone please explain me why I am not able to disable Browser caching in ASP.net by writing the following code Response.Buffer = true; Response.ExpiresAbsolute =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.