Pages returning to their callers

  • Thread starter Thread starter Mantorok
  • Start date Start date
M

Mantorok

Hi all

Is there a good generic way of handling pages that need to redirect back
to their callers? If I have a page that includes, say, a link to another
page, when that other page has finished it will want to return to the page
that's called it.

Are there any recommended techniques for hanlding this sort of thing? It
could be that there might be a chain of calls to many pages.

Thanks
Kev
 
You either do it server side, in which case you need to store the data in
the session (each time a page is visisted, add it to an arraylist or
something). Or you can do it clientside with the javascript functions:

history.go(-1);
history.back();
 

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

Back
Top