Bookmark a history page?

H

harry

I have a search form that returns a search results list.

The user then selects a result which displays full info for that selected
item. The item then has 6 different pages all showing related info for that
item. So they could have moved 1,3,6 etc... pages after the result screen.

I want to provide a link that they can click anywhere within those page that
takes them back to the results page - so the search does not have to be
re-executed.

So using the history object I need a way of remembering the search results
page then set the current page back to it. A sort of bookmarking!

Any ideas?

thanks

harry
 
R

Randy Webb

harry said:
I have a search form that returns a search results list.

The user then selects a result which displays full info for that selected
item. The item then has 6 different pages all showing related info for that
item. So they could have moved 1,3,6 etc... pages after the result screen.

I want to provide a link that they can click anywhere within those page that
takes them back to the results page - so the search does not have to be
re-executed.

So using the history object I need a way of remembering the search results
page then set the current page back to it. A sort of bookmarking!

Any ideas?

That would require being able to know where in the history trail it was
at, and there's no practical way of knowing that.
 
R

Ray Morgan

harry said:
I have a search form that returns a search results list.

The user then selects a result which displays full info for that selected
item. The item then has 6 different pages all showing related info for that
item. So they could have moved 1,3,6 etc... pages after the result screen.

I want to provide a link that they can click anywhere within those page that
takes them back to the results page - so the search does not have to be
re-executed.

So using the history object I need a way of remembering the search results
page then set the current page back to it. A sort of bookmarking!

Any ideas?

The only reliable way to accomplish this would be server-side, whereby
you could include a link to the GET request that returns the results
page.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,266
Latest member
DavidaAlla

Latest Threads

Top