[mythtv-users] MythWeb cookie very short-lived

Thomas Börkel thomas at boerkel.de
Fri Mar 31 07:19:19 UTC 2006


HI!

Chris Petersen wrote:

>> To test, I deleted the cookie and then went to MythWeb and changed some 
>> settings. Looking at the cookie in Firefox, MythWeb sets:
>>
>> 192.168.0.7:
>> mythweb_id, path "/mythweb/", expires at end of session
>> mythweb_id, path "/", expires 2006-04-01 12:42
>>
>> So the settings expire after only 30 hours. How can I change this?
> 
> http://svn.mythtv.org/trac/browser/branches/release-0-19-fixes/mythplugins/mythweb/includes/session.php

Hmm, there (in the comment) it says 30 days. But it is actually 30 hours 
here. Isn't there a multiply by 24 missing?

> You can also start using authentication, which will attach your settings 
> pretty much permanently to the login name.

I'll think about that.

>> Also, sessions are not being written to "php_sessions"  and not to /tmp. 
>> There are session files in /var/lib/php/session, but none is from today.
> 
> They're stored in the database now.

OK, I see. Thanks.

Thomas


More information about the mythtv-users mailing list