hi,groups,
i have set the core.php =>Configure::write('Session.save', 'cake');
then
I set the cake1.2\cake\libs\session.php
in the function=> __initSession()
switch (Configure::read('Session.save')) {
case 'cake':
if (!isset($_SESSION)) {
if ($iniSet) {
ini_set('session.use_trans_sid', 1); //changed the value
//ini_set('url_rewriter.tags', ''); //comment the value
ini_set('session.serialize_handler', 'php');
ini_set('session.use_only_cookies', 0);
ini_set('session.use_cookies', 0); //changed the value
ini_set('session.name', Configure::read('Session.cookie'));
ini_set('session.cookie_lifetime', $this->cookieLifeTime);
ini_set('session.cookie_path', $this->path);
ini_set('session.auto_start', 0);
ini_set('session.save_path', TMP . 'sessions');
}
}
break;
when I change the value of [ ini_set('session.use_cookies', 0); //changed
the value]
i can't login, why is it I can't change the value in here.
If you know, please tell me very thanks.
2009/2/4 Rimoe <[email protected]>
> hi,groups,
>
> I can't use the cookies,
> how can I use the ($this->Auth->login($this->data))to login.
>
> Thanks
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---