Hi Piyush,

> So as my http basic setup continues to befuddle me I decided to use a 
> login form instead. 

If you could find time to send sample code or steps to reproduce your issue,
that could help me debug this and eventually fix any issue in the code.

> So I wrote an Authentication filter that basically looks for 
> a session 
> id if it isn't found  or the associated session is stale it redirects 
> to a login resource which is basically "/login". 
> 
> That resource's representation is a login form which is 
> submitted with 
> a Post to the same resource ("/login"). 

OK, makes sense.

> Now I am having trouble getting to the username password. 
> 
> Here is the debug code .. 
[...]
> First question of course is am i on the right track? 

Sure, it should work fine. What do you see when you introspect the parsed
Form instance in your IDE? Same garbage? Do you have a trace of the HTTP
transaction (like with Firefox's LiveHTTPheaders extension)?

Again, if you could zip a sample HTML + filter code that would help me debug
it more quickly.

Thanks,
Jerome

Reply via email to