function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shiv ShankarShiv Shankar 

How to create session...

Hi,

I am a new person for this platform, plese explain me

 

1. How to create session in apex ?

2. How to store values in session ?

3.How to retrive values from session ?

 

Thanks

Best Answer chosen by Admin (Salesforce Developers) 
RonakPatel.ceRonakPatel.ce

Hi,

In salesofrce there is no facility to store values for runtime .

 

You can use cookie for the values dtore at session.

 

For more Detail Refer this link
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_sites_cookie.htm

 

If any question then ask otherwise mark this post as a solution. 

All Answers

RonakPatel.ceRonakPatel.ce

Hi,

In salesofrce there is no facility to store values for runtime .

 

You can use cookie for the values dtore at session.

 

For more Detail Refer this link
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_sites_cookie.htm

 

If any question then ask otherwise mark this post as a solution. 

This was selected as the best answer
amit shinde 23amit shinde 23
Thanks @ronakPatel . That helped a lot