html/php login pages (automatic login to second page based in login of index page)
<p>I have 2 pages. There is authentication form in both pages. I want the second page to be logged in automatically on successful login of first page (index). </p>

<p>How do I do this? Should I use single sign on, if yes how to use single sign on in this case?</p>