• Tzafrir
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

We have a .NET service to communicate with SF. The .NET service logs in to SF once using a valid user, and after that all API calls to SalesFroce.com uses that user session ID.

 

The problem is: how can we tell when the session of this user was expired and he needs to re-login? currently it is done by catching exception, but this is probably not the  best way to do it.

 

Thanks

i m new to salesforce.

 

using this to select

qr = binding.query("select Id,FirstName, LastName,Email,toLabel(Recordtype.Name) from Contact")

but i cnnt know

How to get the value in veriable what tolabel(Recordtype.Name) returns