From: <al...@us...> - 2008-08-27 19:41:23
|
Revision: 653 http://sciret.svn.sourceforge.net/sciret/?rev=653&view=rev Author: alpeb Date: 2008-08-27 19:41:20 +0000 (Wed, 27 Aug 2008) Log Message: ----------- Ability to set in the config the cookie holding the session id. This way you can easily share the session with another app, or decide to keep things separated Modified Paths: -------------- trunk/config.ini.php.template trunk/index.php Modified: trunk/config.ini.php.template =================================================================== --- trunk/config.ini.php.template 2008-08-27 17:12:22 UTC (rev 652) +++ trunk/config.ini.php.template 2008-08-27 19:41:20 UTC (rev 653) @@ -3,6 +3,7 @@ return array ( 'environment' => array ( + 'session_name' => 'SCIRET', 'production' => false, 'loglevel' => 0, ), Modified: trunk/index.php =================================================================== --- trunk/index.php 2008-08-27 17:12:22 UTC (rev 652) +++ trunk/index.php 2008-08-27 19:41:20 UTC (rev 653) @@ -89,6 +89,9 @@ $_GET['view'] = 'NotInstalled'; } +// ZF still doesn't have facilities for this +session_name($config->environment->session_name); + Zend_Session::start(); $auth = Zend_Auth::getInstance(); if ($auth->hasIdentity()) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |