Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

osCsid issue - users being logged out


Philip Patry

Recommended Posts

Posted

Hello All,

 

I have been using oscommerce since December of 07 and would probably be considered a novice at this point. I have put one site into production so far and it worked great. I am currently developing a new site off line. It is currently running locally on my Machine using WAMP server:

 

PHP 4.4.7

MySQL 4.1.22

Apache 2.0.61

 

My current modifications so far are as follows:

 

Oscommerce 2.2 RC2

STS 4.5.8

MSRP/Savings Mod

'On the Fly' Auto Thumbnailer using GD Library - 2.4 fix 2

Easy Populate 2.76g MS2

 

Any other changes have been purely cosmetic such as removing the image in the review info box and updates info box. Custom buttons, etc. Nothing major as far as custom coding.

 

The problem I am running into happens when I login to the site as a user. I can navigate fine through the site except for a couple links. When I click on ‘Top’ on the header, it logs me out of the site (no logout message, just reverts to the main page with no on logged in). STS has a drop down categories menu. If I use that to navigate, it logs me out. On the header I can click ‘Catalog’ to go back to the index page and stay logged in. Only clicking ‘Top’ will log the user out. Everything this else seems to work fine, checkout works and the shopping cart is always saved one I log back in.

 

The only thing different I noticed is that the link to ‘Top’ goes to http://localhost/ . Where as the other links have ‘?osCsid=bfc59740d1429998f1eb30bfb62370cc’ at the end. The drop down categories box also goes to the format ‘index.php?cPath=23’rathen then ‘index.php?cPath=23&osCsid=a77d56e71b78853eeb939e64beada323’ when clicked through the menu.

 

Of coarse when I delete the OSsid part of the link on any page, I am logged out.

 

I am assuming osCsid is the hang-up, but I never noticed the ocCsid on my last production site which ran RC2. I am not sure if it is a feature of STS or oscommerce.

 

Any help would be much appreciated. Hopefully I can pay it forward if someone else has a similar issue in the future. Thanks for reading this!

 

-Phil

Posted

I am perplexed but the problem is somewhat resolved. After uploading the site and putting it online (thinking that my http://localhost settings were probably messed up), the problem is no longer there. I guess it must have something to do with my local settings in the configuration file or the web server setup. This is the only thing that was changed to put the site to upload to the internet. I wish I new the root cause for the problem, but it seems to only be a problem local to my machine. :thumbsup:

Archived

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

×
×
  • Create New...