Unfortunately, I don't have any one specific question to ask. I've been working for about a week and a half on getting A::A::P::S to work (started from scratch; setting up AxKit proved to be a sobering experience). Documentation is so sparse and across the Wiki pages and perldocs it often conflicts and so on.
So my question is, basically, how do I set up cookie-based session management together with a login/logout page for a specific directory under my apache web server?
I got this far:
1. I got session id's to work (but for some reason cannot get cookies to be produced - trying to set up settings like in the docs causes infinite redirects, etc.). So, any help here will be appreciated... Ideally I'd like sessions to be used with
2. I got the axkitdemo auth.xsp to work. Yay. It adds, sets, removes access, displays permissions (knows about my "require user" settings from httpd.conf) and knows how to encrypt passwords.
3. However, when I put the two items above, and tried to use PerForm to get a simple login page, <auth:is-logged-in/> returns true no matter what, the <get-access type="user"/> brings up blank. The login.xsp page I got from here:
http://216.239.39.104/search?q=cache:NGE_353s9iIJ:mah.everybody.org/weblog/archive/80613924+AxKit+login+example&hl=en&ie=UTF-8
(I give the google cached page b/c it's the only resource I found on the web)... It's such a pity that such useful things are relatively undocumented.
So, the final question -- can someone post an example _setup_ for this sort of situation? Including httpd.conf, login.xsp and logout.xsp (the latter not as necessary).
Many many thanks in advance. I already feel stupid enough for not being able to figure this out by myself, but the last two weeks have left me feeling rather incapacitated.
--Misha
P.S. Not posting here my httpd.conf/login.xsp because they've gone through many various changes and incarnations that aren't worth reproducing here.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
