Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can only partially LOGOFF?


maysam

Recommended Posts

Posted

Hi,

 

I have a situation, when a customer logins and shops around and when he decides to log off by clicking on log off button, the cart gets empty but when you click on my account link, he can still see it as is still logged in.

 

In my logoff.php I have:

 

tep_session_unregister('customer_id');

tep_session_unregister('customer_default_address_id');

tep_session_unregister('customer_first_name');

tep_session_unregister('customer_country_id');

tep_session_unregister('customer_zone_id');

tep_session_unregister('comments');

 

$cart->reset();

 

Am I missing something? Any idea how can I logoff COMPLETELY? this was working fine until couple of days ago.

 

Please help!

 

Thanks a bunch

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...