Re: Generating login forms from authen handler?

2007-03-08 Thread Sean Quinlan
On Thu, 2007-03-08 at 12:05 +, John ORourke wrote: > > > > I am currently doing something similiar, I just modify the URL to that > > of the script to be called. > > > > But I need to generate the HTML code from *within* the authen handler > > (needs dynamic generation etc.). > > > > Ah I

Re: Generating login forms from authen handler?

2007-03-08 Thread John ORourke
I am currently doing something similiar, I just modify the URL to that of the script to be called. But I need to generate the HTML code from *within* the authen handler (needs dynamic generation etc.). Ah I see - probably best not to output stuff at that stage as it could confuse the

Re: Generating login forms from authen handler?

2007-03-08 Thread Hadmut Danisch
On Thu, Mar 08, 2007 at 10:37:37AM +, John ORourke wrote: > The authen handler can simply return the right status code - eg. login > failed, OK, declined etc > > The response phase can then do something special with it - I have sites > on which the front page ( / ) has the login form, and in

Re: Generating login forms from authen handler?

2007-03-08 Thread John ORourke
Hadmut Danisch wrote: how would I generate a web page (i.e. a login form) from a authen handler in the case that the user is not authenticated yet ? Can the authen handler generate HTML code and pass it back to the client as an immediate reply? The authen handler can simply return the right

Generating login forms from authen handler?

2007-03-08 Thread Hadmut Danisch
Hi, how would I generate a web page (i.e. a login form) from a authen handler in the case that the user is not authenticated yet ? Can the authen handler generate HTML code and pass it back to the client as an immediate reply? regards Hadmut