xoops forums

dscg

Just popping in
Posted on: 2003/1/28 20:44
dscg
dscg (Show more)
Just popping in
Posts: 9
Since: 2002/6/7 8
#1

Search page expires when using browser back button

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.

Jan304

Official Support Member
Posted on: 2003/1/28 21:46
Jan304
Jan304 (Show more)
Official Support Member
Posts: 520
Since: 2002/3/31
#2

Re: Search page expires when using browser back button

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?

w4z004

XOOPS Advisor
Posted on: 2003/1/28 21:49
w4z004
w4z004 (Show more)
XOOPS Advisor
Posts: 340
Since: 2001/12/13
#3

Re: Search page expires when using browser back button

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

dscg

Just popping in
Posted on: 2003/1/28 22:07
dscg
dscg (Show more)
Just popping in
Posts: 9
Since: 2002/6/7 8
#4

Re: Search page expires when using browser back button

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 <a> 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.

w4z004

XOOPS Advisor
Posted on: 2003/1/28 22:47
w4z004
w4z004 (Show more)
XOOPS Advisor
Posts: 340
Since: 2001/12/13
#5

Re: Search page expires when using browser back button

sure!

281266

Just popping in
Posted on: 2003/10/7 18:42
281266
281266 (Show more)
Just popping in
Posts: 14
Since: 2003/10/5
#6

Re: Search page expires when using browser back button

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.