Session management for same server having different domains by not setting different sessions
<p>I have two folders in same server , one is for development(ponting to dev.mysite.com) and other for live site (ponting to 'mysite.com'). But if some one logged in development his session will be generated and at the same time if he enter into live site he automatically loged in since session is already set in development site. </p>

<p>How can I manage sessions for development and live site without overwriting each other and not setting different sessions . Which is the best method?</p>
