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
Siddhesh KabeSiddhesh Kabe 

Flex page logs out of salesforce on return.


I have developed a custom flex page which has a complex logic of adding a set of locations to all the opportunity products. Now to test my code I login through a different profile and press cancel, it logs me out of salesforce!!!



I have no idea how, as soon as my save or cancel is done the session is killed. I am using session and server merge variable in the flex application, but it should redirect to the opportunity page.


I am using navigateToURL method to pass the control to salesforce.

Siddhesh KabeSiddhesh Kabe
Do we have any moderators or salesforce developers address this issue and inform me where i am wrong.
Siddhesh KabeSiddhesh Kabe
Does anyone have any idea why the session is killed navigating to the URL? Please update me.