Code: Select all
public function getId() {
return session_id();
}
Now version:
Different admin user get same session_id will clean the cart of the Other user, means different admin user can't work at the same time,when the customer haven't registered