RE: [PHP] Session question

From: Date: Wed, 18 May 2011 03:30:29 +0000
Subject: RE: [PHP] Session question
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-312860@lists.php.net to get a copy of this message
You can have a session start in an htaccess file. .htaccess php_value session.auto_start 1 Do not scream at me if you do not like this approach or it does not work for you. I use it and it works well for me. Simply a suggestion. Richard L. Buskirk -----Original Message----- From: Ross Hansen [mailto:hansen.ross@live.com.au] Sent: Tuesday, May 17, 2011 11:16 PM To: php-general@lists.php.net Subject: RE: [PHP] Session question 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: per@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 >

« previous php.general (#312860) next »