[dancer-users] Fwd: Setting cookie_domain on the fly

Gabor Szabo gabor at szabgab.com
Sat Mar 5 14:43:50 GMT 2016


Hi,

I'd like to server two separate domains from the same code-base and even
the same process.
Currently I set the cookie_domain in the configuration file, but that will
not be good once there
are two domains.

Is it possible to set the cookie_domain on the fly in the code?

This is what I have now:

engines:
  session:
    YAML:
      cookie_domain: ".example.com"

regards
   Gabor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20160305/e1784a12/attachment.html>


More information about the dancer-users mailing list