|
Nexus Nash
Undercover Linden
Join date: 18 Dec 2002
Posts: 1,084
|
06-02-2006 08:05
As some of you may or may not know, XMLRPC,email sessions , IMs and all that stuff expire. I was wondering if there is any rule of thumb for email, xmlrpc session expiration. (the UUIDs expire)
From my limited observations. Email is about 36 to 72 hours, and XMLRPC is anything from 12 hours to 48 hours. Does anyone have a solid number for these? Does a certain counter start over as long as you keep the session alive?
Also, can we have a way of checking if the session UUID is still active? I think this might be usfull for email and automated things if we could check IW and out of world for this, instead of getting a postfix reply :\
|
|
Rickard Roentgen
Renaissance Punk
Join date: 4 Apr 2004
Posts: 1,869
|
06-02-2006 10:44
float previous_time = 0.0;
check_keys() { if ((llGetTime() < previous_time) || (llGetTime() > 43200.0)) { llResetTime(); renew_key(); } previous_time = llGetTime(); } Assumes of course that you aren't using llResetTime anywhere else. It would still work, it would just renew the keys way too often.
|
|
Nexus Nash
Undercover Linden
Join date: 18 Dec 2002
Posts: 1,084
|
06-02-2006 11:09
Ya, i'm already doing that with XMLRPC, however I still get the odd 'dead' key. It's not a constant as fasr as I can tell... if it is, what is it!?
As for emails it's more of an IM thing. Like if you IM me, how much time do I have to respond to you before the UUID is closed.
|
|
Rickard Roentgen
Renaissance Punk
Join date: 4 Apr 2004
Posts: 1,869
|
06-02-2006 12:00
ah gotcha
|