1
dscg
Search page expires when using browser back button
  • 2003/1/28 20:44

  • dscg

  • Just popping in

  • Posts: 9

  • Since: 2002/6/7 8


Noticed another quirky behavior on the search page. The search page expires when using the back button.

For example:
- enter search term "html" and submit
- results show up on search.php
- click on one of the links to view the page
- hit the browser back button to see the search results again
- browser gives me the "Warning - Page has expired" message
- need to refresh page to view search results

This warning seems to happen on the xoops.org running Xoops2. I am able to get back to the search results on my own website running 1.3.8 without refreshing.

Not a major problem, but more of a pain in the butt, since I have to refresh the search results page everytime I hit the back button.

2
Jan304
Re: Search page expires when using browser back button
  • 2003/1/28 21:46

  • Jan304

  • Official Support Member

  • Posts: 520

  • Since: 2002/3/31


I don't think this is problem totally on the XOOPS side. Your browser (IE) is preventing (for security reasons) from resending the data. This security settings (wish cannot be chanced) is for preveting for example that you order 2 pc's on internet in place of 1

And why you don't just open the results in new page?

3
w4z004
Re: Search page expires when using browser back button
  • 2003/1/28 21:49

  • w4z004

  • XOOPS Advisor

  • Posts: 340

  • Since: 2001/12/13


yea is really simple! press SHIFT and click in the link

4
dscg
Re: Search page expires when using browser back button
  • 2003/1/28 22:07

  • dscg

  • Just popping in

  • Posts: 9

  • Since: 2002/6/7 8


No argument that it is not difficult to open a new window, but the point is that the way it works now reduces the usability of the search result pages. Opening a new window will require extra clicks or an extra keypress to search the site. My browser is using default settings, so anybody using IE6 will have the same hassles.

Here's my suggestions:

1: Fix the search page result page so that it behaves similar to XOOPS 1.3.8. This means that the search results page doesn't expire when I click on one of the results.

Maybe this cannot be done because of the "post/get" usage in the search form. If so, then at least do this...

2. Open a new browser window for me when I click on a link in the search results by adding a target='_blank' to the tag.

I'm just trying to save myself and other users the hassle of using extra hands or extra clicks to search a Xoops2 site.

5
w4z004
Re: Search page expires when using browser back button
  • 2003/1/28 22:47

  • w4z004

  • XOOPS Advisor

  • Posts: 340

  • Since: 2001/12/13


sure!

6
281266
Re: Search page expires when using browser back button
  • 2003/10/7 18:42

  • 281266

  • Just popping in

  • Posts: 14

  • Since: 2003/10/5


How could this hack (the code) been done and in which file and at which place?

I am not familiar with php but would like to have this "open new window" functionality for the search results.

Login

Who's Online

235 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 235


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits