Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

login session variables


jugglingandy

Recommended Posts

Hi, I want pages outside of the oscommerce directory to be able to access the session variables created by oscommerce to determine if a user is logged in or not. That way I can use the oscommerce login for my entire site instead of creating two seperate logins.

 

I cannot seem to find the code where the login session variables are set, so I don't know the name of the variable I should be checking on pages outside the oscommerce directory.

 

On my www.domain.com/index.php page, I want to do something like:

 

if (!$_osCommerceLoggedIn) { then.. }

else {}

 

Has anyone done this before? Thanks for your help.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...