Hello I have been trying to get sessions going under XSP and using this taglib. I am having some wierd stuff go on:
The config file example I had to change to be like this: PerlSetVar SessionArgs "FileName => /tmp/sessions.db" instead of PerlSetVar SessionArgs FileName, /tmp/sessions.db Otherwise the session args were mucked up and I would just get a new session key each time I accessed the webpage. The other strange thing is that the 'last_accessed_time' is always just the current time. I'm not sure I really care about that but is it related to my real problem?: When I put a attribute key into the session, it dissapears into the ether. I can read the session ID and validate that it's the same one I had last time. I use <xsp:expr><session:set-attribute name="fred" value="dingbat"/></xsp:expr> and then <xsp:expr><session:get-attribute name="fred" value="dingbat"/></xsp:expr> The only time it works is if I put them right next to each other so I write it and then read it straight away, otherwise I never see it again. It get's a bit stranger - if I restart apache and stop it again but keep the browser going, it might sometimes then remember the attribute later but only if I set it on the very first page access to the server once it was restarted. Also the 'new session id every access' problem comes back sometimes if I restart apache. any hints? any news on how the new session taglib's coming along? matt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
