How to check if session exists or not? in PHP

0 votes
1,206 views
asked Sep 26, 2013 in HTML by admin (8,115 points)
HI All

   How to check if session exists or not? in PHP...

1 Answer

0 votes
answered Sep 26, 2013 by john (4,220 points)

HI admin

   check this solution

    1.Do your session stuff before you send any html or white space... 

  2.Check have you used session_start() twice...

...