You'll need to modify both _load and _save methods of the subclassed session, they both set cookie_domain
On Apr 3, 12:20 pm, andrei <[email protected]> wrote: > Have you tried to subclass the session and modify its _load method > where it sets cookie_domain ? > > On Apr 3, 10:55 am, ambre <[email protected]> wrote: > > > > > I need this to for the session module. > > The application is designed to be usable for different domains. > > The path variable gives me the information for which domain the > > request arrived. > > But web.ctx.path is not available at session creation time. > > > On 2 Apr., 09:42, andrei <[email protected]> wrote: > > > > Do you need it this to set your cookies or to use with session module? > > > > On Apr 1, 1:24 pm, ambre <[email protected]> wrote: > > > > > Hi, > > > > > is it possible to set the cookie domain with respect to the path in > > > > webpy 0.34. > > > > > For example: > > > > If the path is /shop/a cookie_domain should be .example.com > > > > If the path is /shop/b coodie_domain should be .production.com > > > > > Regards > > > > Erwin -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
