Welcome! Log In Create A New Profile

Advanced

Re: variable variables?

agentzh
January 03, 2012 12:26AM
On Mon, Jan 2, 2012 at 11:40 PM, Karoly Negyesi <chx1975@gmail.com> wrote:
>
> Drupal sets the name of session cookie based on the cookie domain. I
> am running SSI (reading from Redis via Webdis) and I would like to
> read some user specific information which is stored in a Redis hash
> named after the sesion name with a key of the value of the session
> cookie. So the SSI command would be something include
> virtual="/user/SESSnameofthesession". So I need to rewrite that into
> something like /redis/SESSnameofthesession/${COOKIE_$SESSnameofthesession}.
>

I think you may consider replacing webdis with ngx_redis2:
http://wiki.nginx.org/HttpRedis2Module

Also, you may consider replacing SSI with content_by_lua because the
latter provides a full-fledged scripting language as well as the same
nonblocking network I/O capabilities (with ngx_redis2, among other
things).

Regards,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

variable variables?

Karoly Negyesi January 02, 2012 10:42AM

Re: variable variables?

agentzh January 03, 2012 12:20AM

Re: variable variables?

agentzh January 03, 2012 12:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 145
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready