[Klone-users] Session id

diakat 2000 diakat2000 at googlemail.com
Mon Sep 1 06:16:00 EDT 2008


Hello Stefano,

sorry for my late reply.
There are several use cases. Mainly, I want to create some files with
unique names. Because the session id is an unique identifier I would
use it for naming the files.

I have just another question: how can I set the time, that defines
when a session expires?

Thank you very much!

Bye,
d.


2008/8/16, Stefano Barbato <barbato at koanlogic.com>:
> Hello,
>
> why you need that? Anyway this is how you can get it:
>
>
> ----[ page.kl1 ]---
>
> <%!
>      #include <klone/ses_prv.h>
> %>
> <body>
> <%
>      if(session->id)
>          io_printf(out, "your session id is %s", session->id);
> %>
> </body>
> --------------------
>
> bye,
>
> s
>
>
>
> On 15/ago/08, at 11:33, diakat 2000 wrote:
>
>> Hello,
>>
>> It's me again, I've got yet another question.
>> Is it possible to query the session id, so that I can use it in my
>> website?
>>
>> Regards,
>> d.
>>
>> _______________________________________________
>> Klone-users mailing list
>> Klone-users at koanlogic.com
>> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>>
>
>
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>




More information about the klone-users mailing list