help: How to track user session with fastcgi

焦胜强 jiaosq at
Thu Oct 25 13:54:56 MSD 2007


2007/10/25, Yingyuan Cheng <yingyuan at>:
> I want to use nginx as web front, dispatching uri of dynamic content to
> fastcgi processes. How to track user session in such situation?
> I reviewed ngx_http_userid_module, which generates new user id if
> special cookie key not found. But it has some cons:
> - If this is the first time user visiting site page, nginx can't record
> user id with just visited page into log file
> - If the first visited page is generated by a fastcgi process, the
> fastcgi process can't get user id just generated by ngx_http_userid_module
> Is there any way to work out? Thanks.
> --
> yingyuan

Best Regards
上海我要网络发展有限公司  运维部
上海浦东新区峨山路91弄200号新鹏大厦6楼 邮编 200127
Tel: +86(021)58815151-5160
Fax: +86(021)50904695
QQ: 34849502
MSN: jsq_yy at
Email: jiaosq at
Visit us:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list