Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Auto Login


aboyz

Recommended Posts

Posted

How how do you make it so when the user register once and log in it remember his login ID and log himself in. automatically? is there a way to do this.. if so let me know

 

thx

Posted

I don't know if there's an existing contribution that does this, but it's possible by saving the login info in a cookie. The cookie would be set in catalog/login.php, and read in catalog/includes/application_top.php. The cookie value could be something like "X;Y", where X is the customer ID and Y is the encrypted password.

Archived

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

×
×
  • Create New...