X-Transmission-Session-Id Expiry

Discussion of Transmission that doesn't fit in the other categories
Post Reply
vohof
Posts: 3
Joined: Fri Jul 19, 2013 2:13 am

X-Transmission-Session-Id Expiry

Post by vohof »

How long is the header value for X-Transmission-Session-Id valid?
nipil
Posts: 5
Joined: Sun Nov 03, 2013 12:41 am

Re: X-Transmission-Session-Id Expiry

Post 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 */
jasonm23
Posts: 1
Joined: Sun May 27, 2018 11:12 pm

Re: X-Transmission-Session-Id Expiry

Post 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.
Post Reply