Store domain model in PHP session

Posted by Matthieu on Stack Overflow See other posts from Stack Overflow or by Matthieu
Published on 2010-03-23T14:59:08Z Indexed on 2010/03/23 15:13 UTC
Read the original article Hit count: 463

Filed under:
|

Is that a good practice to store the objects of the domain model in the PHP session ?

This would enable to avoid to query and reconstruct every PHP object to each PHP request.

Is there a size limit ?

© Stack Overflow or respective owner

Related posts about php

Related posts about good-practice