Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Login Variable


Recommended Posts

the variable you're looking for is $customer_id


if( tep_session_is_registered('customer_id') ) {
echo 'customer no: ' . $customer_id . ' is online';

Link to comment
Share on other sites

I found this


if (!tep_validate_password($password, $check_customer['customers_password'])) {

$error = true;

} else {


I assume everything after this line is executed if the login was successful. So is $customer_id created into a session id that is passed along with the application_top.php file?


My goal is taking this login and using a Cookie set by it to be accessed by non oscommerce pages. Unfortunatly this has become a rather difficult task.

Link to comment
Share on other sites


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

  • Create New...