Page 1 of 1

X-Transmission-Session-Id Expiry

Posted: Sat Jul 20, 2013 11:29 pm
by vohof
How long is the header value for X-Transmission-Session-Id valid?

Re: X-Transmission-Session-Id Expiry

Posted: Thu Nov 28, 2013 11:10 am
by nipil
Necro'ing a bit, but i was looking for the answer too. And found it so i wanted to share.
libtransmission/rpc-server.c wrote:server->sessionIdExpiresAt = now + (60*60); /* expire in an hour */

Re: X-Transmission-Session-Id Expiry

Posted: Sun May 27, 2018 11:16 pm
by jasonm23
Looks like this was updated a while back so here's the new expiry time.

Code: Select all

add_time_header(req->output_headers, "Expires", now + (24 * 60 * 60));
24h.