You need to sign in to do that
Don't have an account?
arosys
Alternative to manage session in apex
I searched for maintaining session variable , but i found session variables are not there in salesforce.
Please suggest any alernative to this in case i want to make a shopping cart.
Thanks
Hi Arosys,
Did you get a chance to explore the Cookie Class in Apex which you can utilize to maintain session:
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_sites_cookie.htm
You can use in apex
Userifno.getSessionId(); to get session id
Scenario is i want to maintain session variable like we do in php,cf etc.
for example like creating a shopping cart.
in which we maintain a session list variable to store information about the products , quantity etc.
for login and guest uesrs.
For that you should use cookies.