Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to call a string from a session?


ckyshop.co.uk

Recommended Posts

if (isset($HTTP_GET_VARS['stylesheet']) && tep_not_null($HTTP_GET_VARS['stylesheet'])) {

$stylesheet_preference = ($HTTP_GET_VARS['stylesheet']);
tep_session_register('stylesheet_preference'); 

} else {

$stylesheet_preference = '1';
tep_session_register('stylesheet_preference');

}

 

using the above code will i be able to pass the stylesheet_preference from page to page in the session?

Thanks for any help/comments.

 

Regards,

 

Lewis Hill

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...