I am very new to yabbse and to php mysql. I am working on a website where users log into a site using php sessions where they can navigate to different areas of the site, one of them being able to navigate to the yabbse forum.
I have placed a header file in the template.php file which checks to make sure their session is valid and has the session_start() command before any other code is executed. This doesn't seem to work cause any time the user navigates to yabbse somehow the session gets destroyed and the session id is ' '. I then thought that maybe the template.php doesn't get called on all pages so I went and added session_start(); to each php file but that didn't do the trick either.
Is there some code somewhere that gets rid of my session? I know yabbse uses cookies to handle users staying logged in from page to page and I am trying to use sessions with cookies. Will that work?
Again I am very much a newbie
and any help or suggestions on this would help!! Thanks in advance!
Tony