I am using a CDbHttpSession for my session storage, that has a timeout parameter set for 2 years.
I have also a CWebUser class which gets a duration value for the login() method, that is set for 7 days.
- I am wondering how this two relate?
- What is the session timeout value?
- What is the duration value via the login() function?
- How can I have a session expired when the user closes it’s browser?
- How can I have a session remembered through cookies even if the browser closes?