The filter is validating the cookie with cosignd and issuing the Set-Cookie 
header, but when you get redirected to the protected URL, your browser isn't 
sending along the service cookie. (See my modified version of the debug log 
below.)

Either your browser is set not to accept cookies, or the cookie is being set 
for the wrong domain, which would happen if your validation URL's hostname 
doesn't match the hostname of the protected URL.

andrew

On Nov 12, 2009, at 3:42 PM, 文卓 张 wrote:

> [4680] 
> url="/cosign/valid?cosign-cosign=xIMtr7xTyGNgY5RcKAZ41Nfti1pY1JeA8rvgxWcCkbUshFAhPLQO4-mAA9WPZSwuLNZYZY5MX1ciYPpJPrLVKoG2bf7ZYnRtzY7UhE6enaLVRi7UdmJe2FeY03Ze&http://lynx/BlueGateway/Cosign.aspx?ds=Teacher&rp=http%3a%2f%2flynx%3a80%2fBlueGateway%2fLogin.aspx&=BP7dwkc9v%2fI%3d";
> [4680] Found a /cosign/valid? url
> ...
> [4680] LocationHandler: About to try some connection code...
> ...
> [4680] Netchecking this cookie: 
> "cosign-cosign=xIMtr7xTyGNgY5RcKAZ41Nfti1pY1JeA8rvgxWcCkbUshFAhPLQO4-mAA9WPZSwuLNZYZY5MX1ciYPpJPrLVKoG2bf7ZYnRtzY7UhE6enaLVRi7UdmJe2FeY03Ze"
> [4680] We like 200!
> ...
> [4680] LocationHandler: That went well!
> ...
> [4680] Set-Cookie: 
> cosign-cosign=xIMtr7xTyGNgY5RcKAZ41Nfti1pY1JeA8rvgxWcCkbUshFAhPLQO4-mAA9WPZSwuLNZYZY5MX1ciYPpJPrLVKoG2bf7ZYnRtzY7UhE6enaLVRi7UdmJe2FeY03Ze;path=/;httponly
>  
> [4680] Location: 
> http://lynx/BlueGateway/Cosign.aspx?ds=Teacher&rp=http%3a%2f%2flynx%3a80%2fBlueGateway%2fLogin.aspx&=BP7dwkc9v%2fI%3d
>  
> ...
> [5920] Not a location handler url.  Carry on.
> ...
> [5920] FindCookie() 
> ...
> [5920] Raw cookie = 
> retPath=http://localhost:80/BlueEvaluation/Login/Login.aspx?ReturnUrl=%2fBlueEvaluation%2fDefault.aspx;
>  CoSignDataSource=Data1; LoginId=b12337ac-8dfc-4ad7-91b3-ff3725e3b172
> [5920] OnPreprocHeaders(): Could not FindCookie(), redirecting

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cosign-discuss mailing list
Cosign-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cosign-discuss

Reply via email to