Hi Eric --

> For instance, I've got an admin and a reporting cgi that both rely on
> the same login logic.  I'd like the login instance CGI to provide for
> being called from either script after being redirected there due to
> a lack of session, then be sent back to the originally requested
> script.

I do this by encoding a form parameter "target_uri" containing the URI to
which the user was originally attempting to go:

        http://somesite/login.pl?target_uri=%2fadmin%2fsomeapp.pl


When login is complete, the user should be redirected to the value of
$q->param('target_uri').  


-Jesse-


----

  Jesse Erlbaum, CTO
  Vanguard Media
  212.242.5317 x115
  [EMAIL PROTECTED]



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

Reply via email to