RE: Use form instead of AuthType Basic (pop-up windows)

2010-01-21 Thread Ihnen, David
I suppose it is not obvious that when using login page authentication that you are responsible for the creation of the mechanism by which you identify the user? I could point out that merely the fact you are utilizing a login form does not mean you HAVE to use cookies - it just has less ramific

Re: Use form instead of AuthType Basic (pop-up windows)

2010-01-21 Thread Juan Manuel Parrilla Gutiérrez
Thank you for the information. I didnt know that what login and logout scripts were doing was setting/clearing the cookie. Juan Manuel Parrilla El 21 de enero de 2010 19:15, Ihnen, David escribió: > I happen to have just finished debugging my latest authen/authz > cookie-based authentication m

RE: Use form instead of AuthType Basic (pop-up windows)

2010-01-21 Thread Ihnen, David
I happen to have just finished debugging my latest authen/authz cookie-based authentication module last night, so this is *really* fresh in my head. So right now you're using AuthType basic. Change that to something else specific to your module. The basic auth will no longer respond. Program

Re: Use form instead of AuthType Basic (pop-up windows)

2010-01-21 Thread Juan Manuel Parrilla Gutiérrez
Thank you for this example but it is talking about how to define the Authz and Authen handlers, it is asuming that you are using AuthType Basic, " When Apache sends the HTTP header with this code, the browser will normally pop up a dialog box that prompts the user for login information." That is j

Re: Use form instead of AuthType Basic (pop-up windows)

2010-01-21 Thread Ryan Gies
On 1/21/2010 12:25 PM, Juan Manuel Parrilla Gutiérrez wrote: Hello, I am sorry if I didnt explain me properly. Apache2::AuthCookie is what you are looking for. Read through the source code, understand what it does and why and you will be able to write your own. No, you cannot use an html for

Re: Use form instead of AuthType Basic (pop-up windows)

2010-01-21 Thread Juan Manuel Parrilla Gutiérrez
Hello, I am sorry if I didnt explain me properly. What I want to know is understand how use a formulary instead of AuthType Basic. I know there are several modules that are doing this, but it is not about using one, it is about understanding how. I am doing my own Auth module (just to learn about

Re: Use form instead of AuthType Basic (pop-up windows)

2010-01-21 Thread André Warnier
Juan Manuel Parrilla Gutiérrez wrote: Hello, this is my first message to this list and I am also a bit new to mod_perl. My question is simple, in all the documentation I have found about mod_perl and auth (like practical mod perl, or writing apache modules in perl and c) they are always using Aut

Re: Use form instead of AuthType Basic (pop-up windows)

2010-01-21 Thread Juan Manuel Parrilla Gutiérrez
Thank you for your answer, but I would like to use Authz and Authen like AuthCookie is doing. (And I think Apache::Session is not doing so). What I do not now is: how to use a form instead of "AuthType Basic"? Juan Manuel Parrilla 2010/1/21 David Romero > Hi, > > Look at Apache::Session module,

Use form instead of AuthType Basic (pop-up windows)

2010-01-21 Thread Juan Manuel Parrilla Gutiérrez
Hello, this is my first message to this list and I am also a bit new to mod_perl. My question is simple, in all the documentation I have found about mod_perl and auth (like practical mod perl, or writing apache modules in perl and c) they are always using AuthType Basic, so when the users tries to