Re: [Simpleweb-Support] Create a custom SessionManager
Brought to you by:
niallg
From: Niall G. <gal...@ya...> - 2011-04-08 09:25:53
|
Hi, A session is just a map of key value pairs, if you implement a Strategy you can maintain state within this map as its passed on every call to the Strategy. So I would implement a Strategy that acts as a bridge between your session and the internal one. Niall --- On Thu, 7/4/11, Bernardo S. A. Silva <ber...@gm...> wrote: > From: Bernardo S. A. Silva <ber...@gm...> > Subject: [Simpleweb-Support] Create a custom SessionManager > To: sim...@li... > Received: Thursday, 7 April, 2011, 7:48 PM > Hi all, > > I want to create my own SessionManager on Simple (for > example, a > memcached or a redis one). > So, how can I attatch it to the server? I am not seeing the > way I can > declare: "use this SessionManager..." > > Thanks in advance, > Bernardo Silva > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Simpleweb-Support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simpleweb-support > |