You need to sign in to do that
Don't have an account?
Sessionlogin with Winter12 not working anymore...
Hi,
last weekend, Tapp0 Sandbox was upgraded to Winter '12.We have a Flash/Flex File, which included a working Session login (working with Summer '11).
We're giving SessionId from Apex:
UserInfo.getSessionId();
to Flexmethod:
if (initsession_id != null) { infotext.text = "Login via Session " + initserver_url.toString(); lr.server_url = initserver_url + '/services/Soap/u/22.0'; lr.session_id = initsession_id; exturl = initserver_url; } else { infotext.text = "Login via User"; lr.username = user; lr.password = pwd + token; conn.serverUrl = "https://test.salesforce.com/services/Soap/u/22.0"; } lr.callback = new AsyncResponder(loginResult, loginFault); conn.login(lr);
We receive no response from Salesforce, flexfile can't login. It's working fine with Username and Password+Token.
I hope you can help!
We found a solution, it's also mentioned by Salesforce as "workaround":
Use
instead of
and it'S working fine :-)
All Answers
I'm having the same issue with a flex app that's logging in utilizing the current session, which is retreived from apex code just as yours is. I'll pursue this on my end and post here if I find a resolution.
Thanks,
Known issue. Should be fixed in a patch -which should be live by tomorrow AM.
We found a solution, it's also mentioned by Salesforce as "workaround":
Use
instead of
and it'S working fine :-)