> -----Original Message-----
> From: Mark Mclogan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 19, 2001 10:08 AM
> To: [EMAIL PROTECTED]
> Subject: browser commands....
> 
> 
> 
> 
> Hi! again.
> 
> As I can insert browser commands in script in Perl. For 
> example, if I want
> to return to my previous web page (back)

If I understand your question properly, there are two basic 
techniques:

1. Send some JavaScript back in the HTML that would have 
browser navigation commands. These could be linked to a
button or perhaps on an onLoad event.

2. Send back an HTTP 301/302 (Moved) response with a
Location: header. This is called a redirect.

In general, I would say that the client's page history is
not something the server should be concerned about, and so
I would not see the purpose in #1. If the user wants to go
back, he has a back button. #2 is used frequently when the
server wants to direct the browser to a specific URL (not
just "back").

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to