473,246 Members | 3,285 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,246 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 16080
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: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.