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
michaellee.ampfmichaellee.ampf 

Integration with Visualforce Pages & Session ID

Hi.

 

I've got a kind of cross-scripting exercise that I'd like to see if I can fix.

 

I've got an authenticated site that collects information from Salesforce, and then submits to another site.  As part of that form submission, there's the URL that it returns to.  However, when it returns to the authenticated site, we lose track of all of the session information.  Is there a way to keep a hold of that session ID even though it goes through another page?

 

(Obviously some thought to security at a time like this would be good as well, but there's very little data that's visible in these accounts..)

 

Any ideas?


Thanks,

Michael

Andy BoettcherAndy Boettcher

How are you "collecting info from Salesforce"?  Is this all within an external site?

michaellee.ampfmichaellee.ampf

It's an HTML form where some of the fields in the form posted to the other site contain data pulled from the salesforce session. 

Andy BoettcherAndy Boettcher

If it's an external website, could you store the SF SessionId in a Session-level variable?

 

-Andy