Topic: My dream? Disabling visit timeout
Hi all.
I am integrating PunBB to the webapp I am developing. Quite smooth job luckily. I like PunBB very much.
I have just one single problem. In my webapp the user session lasts until the browser is closed.
In PunBB there is the 'Visit Timeout' setting that logs out the user automatically after x seconds.
Is there a way to disable this behaviour? I would like the user session to end when the user closes their browser. It is very important in my system.
I haven't found the way.
I am even ready to hack the code.
I think I should change the function forum_setcookie. Indeed, I should set $expire to 0 if its value is time() + $forum_config['o_timeout_visit'] (actually it is a bit trickier than that.)
Can you guys help me, please?
Dan