You need to sign in to do that
Don't have an account?

Invalid Session ID Error: Javascript and Salesforce
Hi All, Hoping to get some insights and guidance to solve the first part of the problem. The code below provides the user with a browser window, lets select a file, and on clickling Done should create a record with File Name and File Path. However, this is the error I am getting right now..Please help!((Originally this was a scontrol code working ONLY in IE..this is the second part of the problem)
{faultcode:'sf:INVALID_SESSION_ID',faultstring:'INVALID_SESSION_ID:Invalid Session ID found in
SessionHeader: Illegal Session', detail:{UnexpectedErrorFault:{exceptionCode:'INVALID_SESSION_ID',exceptionMessage:'Invalid Session ID found in SessionHeader:Illegal Session',},},}
Added
sforce.connection.sessionId = “{!$Api.Session_ID}” before instantiating an object via sforce.connection..
Solution found on http://eprasu.wordpress.com/2010/03/24/salesforce-sfinvalid_session_id/
All Answers
Hi All,
Any insights? Please help!
Added
sforce.connection.sessionId = “{!$Api.Session_ID}” before instantiating an object via sforce.connection..
Solution found on http://eprasu.wordpress.com/2010/03/24/salesforce-sfinvalid_session_id/