Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to add session variable - the standard way


Shay

Recommended Posts

Hello,

 

I wonder if someone can help me with that:

How do I add a session variable in the standard way.

I looked for the OSC code standards but could not find it.

 

I would be very grateful for your help.

 

 

Thanks,

Shay

Link to comment
Share on other sites

Hello,

 

I wonder if someone can help me with that:

How do I add a session variable in the standard way. 

I looked for the OSC code standards but could not find it.

 

I would be very grateful for your help.

Thanks,

Shay

 

 

$my_session_variable = 'I am a session variable';

 

if (!tep_session_is_registered('my_session_variable')) {

tep_session_register('my_session_variable');

}

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...