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.

Log In



Forum

Mods and Licensing
Hi Egg, Its been a while, but I noticed some user...
F4ris @ 3:39pm, 8 September 2010

Need search engine friend...
Hi again, I have managed to have a look through m...
F4ris @ 11:47am, 8 September 2010

Can't create article...
Hi all, I just downloaded and installed Eggblog, ...
Daniel @ 1:30pm, 21 August 2010

Any more Templates and CS...
Another simple modified eggBlog in action http://w...
wL @ 6:09pm, 17 August 2010

Why can't open the l...
I just review some website link,but unfortunatly,i...
fansi123 @ 8:26am, 13 July 2010

Sourceforge

Download bandwidth is kindly supplied by sourceforge.net.

Donations

Donating to the eggBlog project is a great way to say thanks and to keep security updates and this website going.

Web Design

This project is supported by tenfourzero.net, freelance web design and development.