Welcome, Guest. Please login or register.
Login with username, password and session length


Need help or want to talk to other developers? Join the VirtueMart Chat! Read more...

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: Logging Out!  (Read 8127 times)
redape99
Newbie
*
Posts: 19



« on: February 28, 2006, 19:40:23 PM »

OK, I'm just not getting this Logout!

On my site, the user can log in on left thru mod_virtuemart or can login at checkout thru checkout.login_form/checkout_register_form. I only want registered users for the shop, nothing else in my Joomla site.

They buy stuff, just look at their previous orders or whatever but if they don't click the logout button in mod_virtuemart then they seem to be forever logged in!

They can go to another website, close the browser, log out of windows and reboot the PC but they stay logged in.

Surely this is a big problem?! I'd want the session to finish when the browser is closed.

I've turned off Remember (http://virtuemart.net/index.php?option=com_smf&Itemid=71&topic=14640.0) and tried this in the bugtracker (http://virtuemart.net/index.php?option=com_flyspray&Itemid=83&do=details&id=325) but they don't seem to affect behaviour.

Logged
redape99
Newbie
*
Posts: 19



« Reply #1 on: February 28, 2006, 21:06:47 PM »

Ahh wait a minute! I think the bug tracker fix (http://virtuemart.net/index.php?option=com_flyspray&Itemid=83&do=details&id=325) does have an effect, logging you out if you close the browser.

Logged
w_d_o_a
Jr. Member
**
Posts: 74


« Reply #2 on: May 11, 2006, 07:41:04 AM »

i have the same prob VM 1.4 Joomla 1.08

this is already done You can change line 643 from

setcookie( $sessionCookieName, $session→getCookie(), time() + 43200, ‘/’ );

to

setcookie( $sessionCookieName, $session→getCookie(), false, ‘/’ );

plus the “remember” is set false

i log out, go back to the site and i am automatically logged in. Seems to be only the auto registered user though, if a log in the front end as admin, and log out it doesn’t remember me, only if i register in the shop

Logged
acoustika
Newbie
*
Posts: 24


« Reply #3 on: May 17, 2006, 11:30:29 AM »

i have the same prob VM 1.4 Joomla 1.08

this is already done You can change line 643 from

setcookie( $sessionCookieName, $session→getCookie(), time() + 43200, ‘/’ );

to

setcookie( $sessionCookieName, $session→getCookie(), false, ‘/’ );

plus the “remember” is set false



What is ment by the "REMEMBER" part in red???
Logged
w_d_o_a
Jr. Member
**
Posts: 74


« Reply #4 on: May 17, 2006, 16:44:57 PM »

The Remember me checkbox on the frontend next to where the user logs in  Smiley
Logged
AppleUser
Newbie
*
Posts: 4


« Reply #5 on: June 07, 2006, 18:54:07 PM »

I have the same problem I modify the file joomla.php, but still it wil not work...
« Last Edit: June 08, 2006, 16:47:13 PM by AppleUser » Logged
manouch
Newbie
*
Posts: 24


« Reply #6 on: October 30, 2008, 21:10:06 PM »

i just do this
after that you can't have any "remember me" function

librairies/joomla/application/application.php
L559 switch
time() + 365*24*60*60
by
false

hope will be usefull for u
vm 1.1.2
joomla 1.5.3
Logged
Pages: [1]   Go Up
Print
Jump to: