MarConnor Posted February 28, 2006 Share Posted February 28, 2006 Hello.I have a small question.If I include:[code]session_start();[/code]Inside a required/included file, will the file that it's included into start the session? Link to comment https://forums.phpfreaks.com/topic/3750-help-please/ Share on other sites More sharing options...
loki_racer Posted February 28, 2006 Share Posted February 28, 2006 If you have a file called include.php that has[code]<?session_start();?>[/code]and a page called index.php that has[code]<?include('include.php');?>[/code]Then the session would be started by index.php Link to comment https://forums.phpfreaks.com/topic/3750-help-please/#findComment-13049 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.