Re: [Repoze-dev] Need advise on using session with repoze.bfg

2010-02-19 Thread georgehu
On 2/19/2010 11:20 AM, georgehu wrote: > On 2/18/2010 4:51 PM, Fernando Correa Neto wrote: >> Hey there, >> >> Using beaker is no biggie. >> In your .ini you need something like: >> >> [filter:beaker] >> use = egg:Beaker#beaker_session >> beaker.session.key = yourapp.session >> beaker.session.secre

Re: [Repoze-dev] Need advise on using session with repoze.bfg

2010-02-19 Thread georgehu
On 2/18/2010 4:51 PM, Fernando Correa Neto wrote: > Hey there, > > Using beaker is no biggie. > In your .ini you need something like: > > [filter:beaker] > use = egg:Beaker#beaker_session > beaker.session.key = yourapp.session > beaker.session.secret = supersecret > > [pipeline:main] > pipeline = e

Re: [Repoze-dev] Need advise on using session with repoze.bfg

2010-02-18 Thread Chris McDonough
It's also possible to use repoze.session, based on ZODB: http://docs.repoze.org/bfg/1.2/tutorials/zodbsessions/index.html - C On 2/18/10 7:56 PM, Tim Hoffman wrote: > Hi > > Yeah I am using beaker on app engine as well with bfg, real easy to > setup and it works well. > I am using memcache on ap

Re: [Repoze-dev] Need advise on using session with repoze.bfg

2010-02-18 Thread Tim Hoffman
Hi Yeah I am using beaker on app engine as well with bfg, real easy to setup and it works well. I am using memcache on app engine as the store at the moment as I don't mind if sessions disappear if not used for a little while, but it would be easy to make writes to the session persist in the datas

Re: [Repoze-dev] Need advise on using session with repoze.bfg

2010-02-18 Thread Fernando Correa Neto
Hey there, Using beaker is no biggie. In your .ini you need something like: [filter:beaker] use = egg:Beaker#beaker_session beaker.session.key = yourapp.session beaker.session.secret = supersecret [pipeline:main] pipeline = egg:repoze.zodbconn#closer egg:repoze.tm2#tm beake

[Repoze-dev] Need advise on using session with repoze.bfg

2010-02-18 Thread georgehu
I'm trying to implement a simple session management like the Amazon site, you can throw your order item into your shopping cart even without a login, and Amazon can remember your ordered items for many days. I'm using mysql and sqlalchemy, according to the document, the Beaker is suggested in t