A big smile creeped over my face as I relised the silly mistake I had made. Apparently accessing the site from the URL http://localhost/logon.xml is not the sams as accessing it from http://127.0.0.1/logon.xml (I have no idea why not). Using the later works just fine - cookies are sent, I can login, log out and all is well... almost.

Still the one problem which I could not find an answer to which is to do with the redirect issued form the line:

ErrorDocument 403 /redirect?url=/logon.xml

This exact problem was reported by Misha Kapushesky back in 2003... Jörg Walter responds:

"Try 'ErrorDocument 403 /login.xsp'. It won't let you login, but should show
the login form. If it does show the form, it is indeed a bug I must fix. If
it doesn't, the problem is elsewhere."

So I did, and it did redirect me if I changed 'ErrorDocument 403 /redirect?url=/logon.xml' to 'ErrorDocument 403 /logon.xml' but then I couldn't login - as predidced. This thread then ends with out a final answer.

So was it a bug? Where is the fix?

Also, included with the A:A:P:Session package are two files (logon.xsp and logoff.xsp). In the login page there is a line which reads:

$dest = Apache::Request->instance($r)->{'destination'} || <auth:get-location/>;

$dest = Apache::Request->instance($r)->{'destination'} causes an error stating that it is not a hash reference. Is this related to the other problem I am having? Perhaps because I am not being redirected properly?

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends http://messenger.msn.co.uk


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

Reply via email to