Re: session identifiyer

89 views
Skip to first unread message

agentzh

unread,
May 25, 2012, 11:10:47 AM5/25/12
to Tzury Bar Yochay, openresty
On Fri, May 25, 2012 at 3:50 AM, Tzury Bar Yochay <tz...@reblaze.com> wrote:
>
> is there a way to get he internal session ID used by nginx to identify
> sessions within the lua?

Nope, you need to generate one by yourself (either via a GUID
generator or just encrypting a user ID via ngx_encrypted_session if
that makes sense to your application).

What will you use the session ID for?

Regards,
-agentzh
Reply all
Reply to author
Forward
0 new messages