Basic 0.8 settings:
beaker.session.type=memory
beaker.session.cookie_expires = True

The issue is not that easy to spot. As far as I've got the problem,
when I'm trying to access my site through office network, where all
PC's share the same IP, they all share the same session.
When I access the site from one PC, log in etc, the other gets the
same cookie once it's on the site.
If i clear the cookies and log in it works fine.
Disabling cookies blocks the whole thing from working. Beaker sessions
must be based on them.

If I try beaker.session.use_cookies = False  I get this:

Module beaker.session:287 in _session
<<              self.__dict__['_headers'] = req = {'cookie_out':None}
                req['cookie'] = environ.get('HTTP_COOKIE')
                self.__dict__['_sess'] = Session(req,
use_cookies=True, **params)
            return self.__dict__['_sess']
        >>  self.__dict__['_sess'] = Session(req, use_cookies=True,
**params)
<type 'exceptions.TypeError'>: Session constructor got multiple values
for keyword argument 'use_cookies'

Looks like cookie usage is hardcoded inside the module :(
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to