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

INVALID_SESSION_ID
Problem when working with sforce API:
INVALID_SESSION_ID found in SessionHeader
Here is the code I use to login:
Code:
Any news concerning this problem ?
The Support Service couldn't resolve my problem :s
INVALID_SESSION_ID found in SessionHeader
Here is the code I use to login:
Code:
LoginResult loginResult = S.login(login, pass); S.SessionHeaderValue = new SessionHeader(); S.SessionHeaderValue.sessionId = loginResult.sessionId; S.Url = loginResult.serverUrl;
Any news concerning this problem ?
The Support Service couldn't resolve my problem :s
This is the login code from developer's Sidekick which look just like yours and works fine. Where and when exactly do you receive the error message?
I use this code in ASP.Net applications.
When connecting the first time it works fine.
If there is a new connection after a short time,
using the same sforce account, I get this message
on the first action query() or create() ...
I hope you understood my poor english ^^
Best regards,
Matthias.
Thank you for your help. I'll check if it is an ASP.net session problem.