Re: back from a search form

From: Date: Wed, 27 Jun 2001 07:49:07 +0000
Subject: Re: back from a search form
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55344@lists.php.net to get a copy of this message
You might be able to send some headers about caching and expiration and convince IE that it's okay to show the user the old data... Alternatively, forget the JavaScript history (which won't work for some users anyway) and use $HTTP_REFERER to link back, perhaps with some PHP variables to return to the state you want, and maybe even a ?...&foo=$random to force IE to think it's a different page (since the paramaters are different) so it will actually go fetch it again. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: "Marcos" <mlloret@mail.fujitsu.es> Newsgroups: php.general Sent: Tuesday, June 26, 2001 1:01 PM Subject: [PHP] back from a search form hi to @ll, after a make a search throw a form it returns me some results (links). if i click to a link and i try to get back to the previous results Internet Explorer shows me a blank page advicing that i should refresh the page in order to get the results. how can i prevent this blank page. search.php ---> click into ---> news.php?id=1 and if i make javascript:window.history.back(-1) it shows me the blank page. any ideas will be helpful, thanks in advance, marcos

« previous php.general (#55344) next »