Does PHP session conflict with Share-Nothing-Architecture?

Posted by Morgan Cheng on Stack Overflow See other posts from Stack Overflow or by Morgan Cheng
Published on 2010-03-26T02:55:13Z Indexed on 2010/03/26 3:03 UTC
Read the original article Hit count: 293

When I first meet PHP, I'm amazed by the idea Sharing-Nothing-Architecture. I once in a project whose scalaiblity suffers from sharing data among different HTTP requests.

However, as I proceed my PHP learning. I found that PHP has sessions. This looks conflict with the idea of sharing nothing.

So, PHP session is just invented to make counterpart technology of ASP/ASP.NET/J2EE? Should high scalable web sites use PHP session?

© Stack Overflow or respective owner

Related posts about php

Related posts about sharing-nothing-architect