There is already a way to know if there is a session engine and which one it is. However I don't know if the session id is always stored the same way in every engines. I need to check if there is a session_id accessor in the Session engine base class. That would be the best way to generically get it in the logger I think 

Le lundi 24 septembre 2012 à 12:01, Stefan Hornburg (Racke) a écrit :

On 09/24/2012 11:56 AM, Damien Krotkine wrote:

I think this is useful. Is it always/easy possible to recover the session_id?
Obviously not when there is no session engine used :)

We could look up if session is set in the configuration - or introduce a method
to determine whether sessions are enabled.

Regards
Racke


--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

_______________________________________________
Dancer-users mailing list
Dancer-users@perldancer.org
http://www.backup-manager.org/cgi-bin/listinfo/dancer-users