From: Oleg Pronin 

  > If you mean to get hostname in offline mode (off the processing request) - 
the hostname is not known because there are no request.
  > You can get the server's real hostname by Sys::Hostname::hostname() but 
this probably won't help. 

  I want to use the current hostname for setting the cookie in the session, and 
the site could be accessed with 2 or more different host names. If I hard-code 
a certain hostname, the login won't work on other host names.

  Can't the current host that was requested be accessed in MyApp.pm?

  How can I do this?

  Thank you.

  Octavian


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to