Author Topic: Log Joomla User out before registration with virtuemart  (Read 844 times)

ianpotts99

  • Beginner
  • *
  • Posts: 3
Log Joomla User out before registration with virtuemart
« on: August 18, 2010, 17:20:39 pm »
Hi,

I need to Log Joomla User out before registration with virtuemart.
Can this be done dynamically?

Thanks

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28324
  • Always on vacation
    • Jenkin Hill Internet
Re: Log Joomla User out before registration with virtuemart
« Reply #1 on: August 18, 2010, 19:10:05 pm »
Why would you want to do that? They will be using the same user/pass whether using the Joomla or VM login - they utilise the same db table.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

ianpotts99

  • Beginner
  • *
  • Posts: 3
Re: Log Joomla User out before registration with virtuemart
« Reply #2 on: August 19, 2010, 09:28:42 am »
Hi, I need to do that because when they use the cart I need to get some further information in relation to the cart that is not required for the joomla registration.

Thansk
Ian

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28324
  • Always on vacation
    • Jenkin Hill Internet
Re: Log Joomla User out before registration with virtuemart
« Reply #3 on: August 19, 2010, 10:57:54 am »
They can be registered in Joomla, and all that happens when they go to checkout is that they then add the extra details, such as billing/shipping address. If they are not already registered in J! then they also select username & password.

To force a J! logout you would have to make the session end, clear cookies and maybe force the browser to restart. A lot of programming and maybe annoying to shoppers.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29