Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Who's Online admin tool showing ID 0 for all online users.


Recommended Posts

I noticed this only after installing USU5 (which should have nothing to do with this issue), but here is the basic breakdown of what ive experienced.

Ive got persistent OscIds showing up on every link, they seem to be generated properly as each user can keep their own session and cart, and they are unique. However i am trying to get rid of these Ids in the URL for SEO purposes and also to make it look cleaner to people viewing the site. After enabling USU5, i got the standard rewrite working but the OsCId is still present in the URL.


I found out that setting "Force Cookies" under sessions in admin allows URLs to drop the OscID! I thought my problem was solved.... but here comes the problem...



With Force Cookies set to True:

Only one user ever shows up under "Who's Online". If a new user/guest visits the site, their IP and information takes over and the other user is gone. This seems like it would lead to conflicts with the two users seperate sessions. When a user tries to login by clicking 'Account' at the top, they get redirected to cookie_usage.php.


With Force Cookies set to False

Every guest user on Who's Online shows up with ID 0. Is this normal? Users with an account show up properly with their own IDs. They get a proper ID, and their OsCIds are each unique, so it appears to work fine this way, HOWEVER, the OscIds are back on the end of the URL!



Any advice is appreciated, i will be monitoring this thread to answer any questions and check configuration options if i have not provided enough info to solve this one.

Link to comment
Share on other sites


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

  • Create New...