Acts as ferret javascript.back fails after a search result

hi,
i use ferret in my application and when the user uses the search, i
return some records. the user then clicks on a result to view details.
on the details page, i have a javascript.history.back to return to the
search result. however, i get the expired results page and the user has
to refresh the browser. is there a simple way to solve this?

thanks.

On Tue, May 08, 2007 at 03:24:25PM +0200, mixplate wrote:

hi,
i use ferret in my application and when the user uses the search, i
return some records. the user then clicks on a result to view details.
on the details page, i have a javascript.history.back to return to the
search result. however, i get the expired results page and the user has
to refresh the browser. is there a simple way to solve this?

Do not use history.back in your link but use link_to to link to your
search action?


Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[email protected] | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs