7 messages in ru.sysoev.nginxhelp: How to track user session with ...
FromSent OnAttachments
Yingyuan ChengOct 25, 2007 2:21 am 
焦胜强Oct 25, 2007 2:54 am 
Yingyuan ChengOct 25, 2007 3:28 am 
Maxim DouninOct 25, 2007 4:00 am 
Valery KholodkovOct 25, 2007 4:34 am 
Yingyuan ChengOct 25, 2007 6:08 pm 
Yingyuan ChengOct 25, 2007 6:31 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:help: How to track user session with fastcgiActions...
From:Yingyuan Cheng (ying@public.gmane.org)
Date:Oct 25, 2007 2:21:46 am
List:ru.sysoev.nginx

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.