[AWS] Centralized session storage

Pascal Obry pascal at obry.net
Mon Nov 28 15:38:21 CET 2011


Thomas,

> The solution you're suggesting is very good, but unless I build my own
> session package, I'd still need AWS to do the actual setting/getting of
> the session ID, and then we're back to AWS saving all those ID's locally.

AWS.Session is not that big and all the storage is done in the Database
protected object. Maybe this could be put outside of the AWS.Session
package and create two bodies. One which stores the Session IDs into an
hash table as of today, and another one that can store remotely.

It would even be nicer to have an Interface for the session support
(basically set/get) and have an implementation based on a map and
another using a DB or a separate AWS module with SOAP interface.

Just some idea, all this will require a bit more thoughts to get right.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B



More information about the AWS mailing list