You need to sign in to do that
Don't have an account?

Session IDs
Hi
We are using session IDs to track items that a public guest user adds to a cart, am i right in saying that if there are 2 users, on 2 different machines, in the same location that they will have the same session ID. It certainly seems that way.
thanks
les
Do they appear to come from the same IP address (probably thu' a proxy server)? I believe each browser instance on the separate machines should still get a separate session id. Are you seeing that the two carts are getting mixed up?
Ram
yes, they have the same session ids & yes the carts get mixed up!
Les,
You may want to check if caching is turned off for your VF page.
Ram
One other thing you can investigate - use cookies to store the current state of your shopping cart. Again make sure caching is turned off.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_sites_cookie.htm
Ram
caching was off as far as I can tell, i had a problem with very slow refreshing of pages so have set to true and 3secs (see http://boards.developerforce.com/t5/Force-com-Sites-Site-com/Sites-slow-response-time/m-p/612011#M7655)
ok - so caching means your pages stay around for at least a few minutes (10?) and you run into issues with multiple browsers getting the same session etc.
http://www.tehnrd.com/serious-force-com-cookie-issue/