help: How to track user session with fastcgi

焦胜强 jiaosq at mail.51.com
Thu Oct 25 13:54:56 MSD 2007


ip_hash

2007/10/25, Yingyuan Cheng <yingyuan at staff.sina.com.cn>:
>
> 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 hotmail.com
Email: jiaosq at mail.51.com
Visit us: http://www.51.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20071025/2556b775/attachment.html>


More information about the nginx mailing list