Hi,
- I already finished my member area, but session timeout will not work.
then i added this code in config/main.php
'session' => array(
'class' => 'CDbHttpSession',
'timeout' => 1440,
'cookieParams' => array(
//'path' => '/',
//'domain' => '.mydomain.com',
'httpOnly' => true,
'secure' => false,
),
),
now my session problem is ok, but it should be add in main?? without that, session expire will not work?
- second question is that, when i change :
'secure' => true,
then my login will not work !!!