Re: ActiveSync Sessions - don't seem to use the default Horde session handler?

Michael Rubinsky <[email protected]>
Newsgroups gmane.comp.horde.sync
Message-ID <20130106185613.Horde.8ruJnxf2n6lNRFgM2VxImw2@h4.theupstairsroom.com>
Quoting Jan Schneider <[email protected]>>
> Zitat von Michael J Rubinsky <[email protected]>:
>
>> Quoting Johny Ågotnes <[email protected]>:
>>
>>> Hey there,
>>>
>>> Just found a large number of session files in my /tmp folder even  
>>> though I've set the Horde custom session handler to use mysql.
>>>
>>> I did a quick check and it seems the web-sessions to Horde use the  
>>> custom session handler and the session data is in mysql as  
>>> expected whilst the ActiveSync sessions cause session ID files  
>>> (empty files) to be created in /tmp.
>>>
>>> This expected behaviour?
>>
>> Short answer: yes.
>>
>> Longer answer: Even for requests that we don't want a full blown  
>> session created, we still need to create a temporary session so  
>> that we have a valid session id. The session id is used in some of  
>> the authentication/encryption code. These "null" sessions do not  
>> persist any data.
>
> Can we call session_destroy() at the end of the request, if it's a  
> throw-away session anyway?
> -- 
> Jan Schneider
> The Horde Project
> http://www.horde.org/
>
> -- 
> sync mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: [email protected]

We do.

Mike
Sent from mobile

Jan Schneider <[email protected]> wrote:



-- 
sync mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.