Re: Configure::write('Session.start', true); does *NOT* turn sessions on but session_start() does.

2009-05-16 Thread Miles J

Put your security level to low and see what happens.

On May 16, 8:33 am, Charles  wrote:
> I am echoing the session and nothing happens, it keeps resetting
> itself.
>
> On May 16, 3:58 am, Miles J  wrote:
>
> > And how do you know your sessions aren't started, what exactly happens?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Configure::write('Session.start', true); does *NOT* turn sessions on but session_start() does.

2009-05-16 Thread Charles

I am echoing the session and nothing happens, it keeps resetting
itself.

On May 16, 3:58 am, Miles J  wrote:
> And how do you know your sessions aren't started, what exactly happens?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Configure::write('Session.start', true); does *NOT* turn sessions on but session_start() does.

2009-05-16 Thread Miles J

And how do you know your sessions aren't started, what exactly happens?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Configure::write('Session.start', true); does *NOT* turn sessions on but session_start() does.

2009-05-15 Thread Charles

Help?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Configure::write('Session.start', true); does *NOT* turn sessions on but session_start() does.

2009-05-14 Thread Charles

Any idea why this would be happening?

The session section of my conf:

/**
 * The preferred session handling method. Valid values:
 *
 * 'php'Uses settings defined in your php.ini.
 * 'cake'   Saves session files in CakePHP's /tmp directory.
 * 'database'   Uses CakePHP's database sessions.
 *
 * To define a custom session handler, save it at /app/config/
.php.
 * Set the value of 'Session.save' to  to utilize it in CakePHP.
 *
 * To use database sessions, execute the SQL file found at /app/config/
sql/sessions.sql.
 *
 */

Configure::write('Session.save', 'php');

/**
 * The name of the table used to store CakePHP database sessions.
 *
 * 'Session.save' must be set to 'database' in order to utilize this
constant.
 *
 * The table name set here should *not* include any table prefix
defined elsewhere.
 */
//Configure::write('Session.table', 'cake_sessions');
/**
 * The DATABASE_CONFIG::$var to use for database session handling.
 *
 * 'Session.save' must be set to 'database' in order to utilize this
constant.
 */
//Configure::write('Session.database', 'default');
/**
 * The name of CakePHP's session cookie.
 */
Configure::write('Session.cookie', 'CAKEPHP');
/**
 * Session time out time (in seconds).
 * Actual value depends on 'Security.level' setting.
 */
Configure::write('Session.timeout', '120');
/**
 * If set to false, sessions are not automatically started.
 */
Configure::write('Session.start', true);
/**
 * When set to false, HTTP_USER_AGENT will not be checked
 * in the session
 */
Configure::write('Session.checkAgent', true);

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---