thanks, stefan, again. would you have an example? I am using M::Lite with Mojolyst. so,
... app->secret( [ 'you', 'me', 'us' ] ); app->sessions->cookie_domain( getfinaltwo( $self->req->url->to_abs->host ) ); app->start(); regards, /iaw On Thursday, April 27, 2017 at 9:41:27 AM UTC-7, Stefan Adams wrote: > > > On Thu, Apr 27, 2017 at 10:31 AM, iaw4 <[email protected] <javascript:>> > wrote: > >> dear M users. I am planning to run a hypnotoad server that controls the >> entire domain ( syllabus.space ). Thus, I want auth.syllabus.space and >> info.syllabus.space to share the session. is this possible? advice >> appreciated. regards, /iaw > > > I believe you can just specify *.syllabus.space* for your cookie domain > <http://stackoverflow.com/questions/18492576/share-cookie-between-subdomain-and-domain> > . > > See Mojolicious::Sessions->cookie_domain > <http://mojolicious.org/perldoc/Mojolicious/Sessions#cookie_domain> > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
