Hi, This is my first post, please let me know if this is not the correct place to discuss this.
My site is using MasonX::Request::WithApacheSession to manage our sessions (stored in a MySQL back end). We store an object representing a user into the session and recently the User object has grown larger than the column can handle. We tried the obvious of increasing the column from a text to a large text but had performance issues with that (I was given this information second hand and don't have any more information about this at this time). Even if there were not performance issues I think at the rate the developers are expanding the user object we would just be prolonging the inevitable. My questions are: is has anyone run into this before (session being too large for the storage medium) and what have they (or you) done to resolve it? Is it a bad practice to store objects in the session object? We've considered some options and I am leaning towards implementing Storable hooks to clean up pieces of the objects to reduce their size. Any other suggestions, comments or links to read are welcome. Thanks in advance for any help you are able to provide. -John ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users