[Koha-devel] Question about Koha Session

Philippe Blouin philippe.blouin at inlibro.com
Tue Jun 1 17:53:23 CEST 2021


Hello Koha,

Actually, I'll extend Ivan's question a bit: is CGI::Session->load() the 
way to go, or C4::Auth::get_session() would do the same thing ?

Thnaks

Philippe Blouin,
Directeur de la technologie

Tél.  : (833) 465-4276, poste 230
philippe.blouin at inLibro.com <mailto:philippe.blouin at inLibro.com>

inLibro | pour esprit libre | www.inLibro.com <http://www.inLibro.com>
On 2021-06-01 11:30 a.m., Ivan Dziuba wrote:
> Hello!
> I develop one patch of Koha for Autocomplete - 
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113
> In this patch I use a session. I don't want to create every time new 
> session and I have changed *CGI::Session->new()* 
> from*CGI::Session->load().*
> But I don't sure in this condition *'CGI::Session->load() or die 
> CGI::Session->errstr();'*
> Can I use (*DIE*) in this condition or not?
> Thanks!
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210601/7022c97a/attachment.htm>


More information about the Koha-devel mailing list