Hi.. Im trying to get redirection working with embperl 2.0b8

 

Tried doing:

  $http_headers_out{`Location`} = 'http://$ENV{HTTP_HOST}/ta/login.epl';

  exit 301;

 

But I don’t get a redirect in the browser…

 

I did something that worked using the Apache module and doing like so:

 

   use Apache;

   use Apache::Constants qw(REDIRECT);

   $req = Apache->request;

   $req->header_out("Location" => "http://$ENV{HTTP_HOST}/ta/login.epl?return_url=$ENV{SCRIPT_NAME}");

   $req->status(REDIRECT);

   exit 301;

 

However… since I am using a Session feature… and not using Cookies.. I would like to include the SESSION ID in the URL I am generating but I haven’t been able to see that this is possible.

 

A quick perusal of the docs & Embperl *.pm files shows no method to retrieve the session id….

 

Any suggestions? Please cc me when you reply to the list as well…

 

Thanks,

______________________

Jordan Baker

[EMAIL PROTECTED] 

 

Reply via email to