[mythtv-users] MythWeb - sessions problem

Sean Burlington sean at uncertainty.org.uk
Fri Oct 8 08:49:57 UTC 2004


Stephen Tait wrote:
> I've been having this problem for a while, but only recently found out 
> what the problem was.
> 
> I've been trying to configure mythweb to display the short day format 
> (e.g. Mon, Tue, Wed, etc etc) in it's display, but whenever I add %a to 
> the list of display variables, I always lose the setting after I refresh 
> the page.
> 
> Well, it seems that every single time I refresh the page a new session 
> gets initted - each hit on F5 will generate a new session file in 
> php_sessions, with all of the default settings and without my %a. Does 
> anyone know why this might be? I'm not a big expert on how sessions work 
> and how mythweb handles them - I've spent about an hour trying to figure 
> out the code, but so far no dice, as my PHP knowledge is rather limited. 
> I've also tried in vain to find out where the default session 
> data/configuration is stored (all those includes!) in the hope of 
> editing it manually and avoiding having to sort out the session thing, 
> but again no joy...!
> 
> Anyone have an idea what's up?
> 
> 

I had a problem with sessions which I resolved by commenting the line

#    php_value session.save_path             php_sessions

in /usr/share/mythtv/mythweb/.htaccess

This was setting the path for storing mythweb session to a directory 
that didn't exist.



-- 

Sean


More information about the mythtv-users mailing list