always loggin
I have eggblog 4.1. My problem is the follow: I login in the system and work in its, I close the browser, but when i open eggblog again, i am login too.
This is a security problem.
vallo - 9:54pm, 11 March 2010
Did you try to click the "Log out" link before closing your browser?
eggbuser - 3:23am, 12 March 2010
No i didn't.
but i think if i close the browser, the log out must be automatic.
vallo - 3:26am, 12 March 2010
nope, thats not how cookies work!
eggbuser - 6:44am, 12 March 2010
there any way to clear your cookies when i close the browser, without logoff?
vallo - 2:20pm, 12 March 2010
Look at this:
http://php.net/manual/en/function.setcookie.php
Then look in the /_lib/user.php file
You will see some cookies being set with some long expiration times: time()+60*60*24*365
Looks like 1 year to me (in seconds).
Per the PHP link I posted, change that to read "0" and the cookie will delete upon closing the browser.
eggbuser - 8:20pm, 13 March 2010
Submit a post to this topic
You are not logged in.