Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About "Webservice_Session_Idle_Time"
#7
I remember having looked at the session lifespan a long time ago (when it was still vtiger CRM) and making a mental note that the whole session management was incorrect, to the point where the session was never expired.
So you can imagine my surprise to this discussion.
I got around to testing it today and I think I can confirm that it definitely does not expire.

I created a script that uses direct cURL calls to login. Then I get the sessionid and created another script to launch a query. I did this twice, once with the default value of 86400 and another with 60 in the maxLife global variable. Then I launched the query with no problem for over an hour. I shut down the laptop and turned it back on an hour later: both sessions were still valid and working.

Obviously, we will have to look into this and get it fixed, but in the meantime, you should be able to do what you want to do.

Here are the scripts:

https://gist.github.com/joebordes/847c9ef7baa4ae035b04e4826177d270

let me now how it goes
Joe
TSolucio
Reply


Messages In This Thread
RE: About "Webservice_Session_Idle_Time" - joebordes - 06-13-2017, 04:38 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)