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? Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/3750-help-please/#findComment-13049 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.