Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

about login..


sadsonic

Recommended Posts

How do I make a user logged in? If I log in and click my logo (bringing me to the default site) my user will be logged out, is there anyway to prevent this ? I looked through the admin setting, but couldnt find a fit.. any suggestions ?

Link to comment
Share on other sites

The problem is probably how you coded your logo into the header - you should use the tep_href_link function for the link - this is the standard code:

 

    <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

If this is not the problem, then its probably incorrect cookie settings in catalog/includes/configure.php.

 

Matti

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...