[FASTCGI] Regarding the authorize

Xiang Zhai xiangzhai83 at gmail.com
Thu Oct 11 11:22:01 EDT 2012


A2: call printf("Location:REDIRECT_PAGE_URI\r\n"); before
printf("Content-type: text/html\r\n");

A1: I prefer cookie see SetCookie example from
https://github.com/xiangzhai/xcloud/blob/master/src/XUser.cpp

Xiang Zhai

在 2012-10-10三的 20:02 +0800,梦幻工作室写道:
> Hi,
> 
>          I use the  authorizer module to control user access my page.
> 
>          But it seems doesn’t work correctly.
> 
>          Even if I input the user name as “doe” and password as
> “xxxx”, the authorize dialog still pops up.
> 
>  
> 
>          Another question is how fastcgi redirect into another page in
> c++ language?
> 
>  
> 
>     Thanks in advance.
> 
> 
> _______________________________________________
> FastCGI-developers mailing list
> FastCGI-developers at mailman.fastcgi.com
> http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers




More information about the FastCGI-developers mailing list