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
sburepallisburepalli 

cookied are getting lost from the next subsequent request onwards why?

Hi All,

 

I deploy my application in the sales force environment, as part of authentication we use the cookies for the first time we will authenticate the user if he is valid we insert one cookie for him. But from the next subsequent onwards that cookies I am loosing it. Why anybody knows it.

 

Thanks,

 

Best Answer chosen by Admin (Salesforce Developers) 
Vinita_SFDCVinita_SFDC

Please let me know how are you creating cookies, is it with the session iD?

 

Note :Salesforce.com provides each User in your organization with a unique user name and password that must be entered each time a User logs on. Salesforce.com issues a session "cookie" only to record encrypted authentication information for the duration of a specific session. The session "cookie" does not include either the username or password of the user. Salesforce.com does not use "cookies" to store other confidential user and session information, but instead implements more advanced security methods based on dynamic data and encoded session IDs.