Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

MAKE me A SeSSION


sonny

Recommended Posts

I have a problemo that needs some attention:

 

1) I added an extra database field named customer_lite to TABLE_CUSTOMERS

 

2) Now I am inserting a value of 1 or 0 in this new field when you create a new

account.

 

3) In login.php I am extracting this value into a variable named $customer_lite

 

4) Now i am registering this variable as a session variable into the database

TABLE_SESSIONS.

 

 

5) I check to see that the variable $cutomer_lite was acctually registered in the

database field, which it was.

 

6) Now in index.php I am trying to use this $customer_lite variable.

 

It seems that it registers the session varable $customer_lite but with no value?

like 1 or 0

 

Does anybody have an idea why??

 

Thanks

Sonny

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...