Regarding the "credential_0" found in the J�rg's Session taglib,
Kjetil writes:

> I'll try to look into that. As I said, I use Mark's patches, so there
> may be something there.

I did not add the credential_0 part.  J�rg didn't write it (or, at
least it wasn't original with him).

I spent several weeks trying to get the Session taglib working (Right:
I have no life) and did a bit of archeology on the taglib and its
origins.

To understand the taglib, you should be familiar with the module
Apache::AuthCookie and Apache::AuthCookieURL as well.  Reading the
documentation for Apache::AuthCookie, you'll see the following:

* login() 
    This method handles the submission of the login form. It
    will call the authen_cred() method, passing it $r and all the
    submitted data with names like "credential_#", where # is a
    number. These will be passed in a simple array, so the prototype
    is $self->authen_cred($r, @credentials). After calling
    authen_cred(), we set the user's cookie and redirect to the URL
    contained in the "destination" submitted form field.

That is the origin of the credential_0 bit and also why I suspect you
are having problems with your code.  The taglib was built to work with
forms and you don't have any.  Expect problems.

Mark.


-- 
You are a mystery as deep as the sea; the more I search, the more
I find, and the more I find the more I search for you.
            -- St. Catherine of Siena

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to