Unless your adding more code to your included file it isn't worth having it as 
an include as there is more typing/text involved. For management purposes also 
it would also look ugly if you were just having one file purely  for 
session_start();

> From: p...@computer.org
> Date: Tue, 17 May 2011 13:01:19 +0200
> To: php-general@lists.php.net
> Subject: Re: [PHP] Session question
> 
> Paul Halliday wrote:
> 
> > Is it OK to have session_start as an include?
> > 
> 
> Yes.
> 
> 
> 
> -- 
> Per Jessen, Zürich (18.1°C)
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
                                          

Reply via email to