Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: how to go back to previous page.

by exussum0 (Vicar)
on Apr 22, 2004 at 02:54 UTC ( [id://347195]=note: print w/replies, xml ) Need Help??


in reply to how to go back to previous page.

If you are trying to control the browser, the best you are going to do is use the history object. Something like..
<FORM> <INPUT TYPE="button" VALUE="Back" onClick="history.go(-1)"> </FORM>
In perl, you can do a header Location: redirect to whatever the logical last page was. i.e. if you have a 2.cgi, you can send a Location: 1.cgi to the browser instead if they submit with certain values.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://347195]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2024-04-25 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found