title: How to check whether the session is expired or not in each webpage php?
body: <p>I am building my tutorial website. For which i am having login facility. When the session is started my homepage opens. I going to have multiple webpages, when i click the link the session must continue to the next consecutive pages too. And so the variable username at the top most left corner remains until the session expires(when pressing logout). How to do it? please help me. </p>