On Tue, 2 Sep 2003 20:21:45 +0200
Xavier Noria <[EMAIL PROTECTED]> wrote:
> On Tuesday 02 September 2003 07:28, Perrin Harkins wrote:
>
> > Sorry, I don't understand what you're saying here. What you should
> > be doing is fetching the session once, putting it in pnotes, and
> > getting it from pnotes for the rest of the request.
>
> I am sorry, I'll try to reword it.
>
> Let's assume a new user comes to the website. We set up a session for
> him and put the session id in a cookie to be sent in the response. As
> you know, somewhere in the request cycle of that particular request
> Apache::Session::Oracle stores the session in the database.
>
> When later that very user comes back to the website with a valid session
> id in the cookie, one reads the session from the database.
>
> The problem I am facing is that if the session is stored in pnotes() it
> doesn't end up in the database. When the user comes back that id
> corresponds to no row in the sessions table.
>
Hi Xavier,
If you want a transaparent session management you could also look
Apache::SessionManager
mod_perl extension. No extra code to write but a few lines to add in httpd.conf or
.htaccess.file
:-)
by
- Enrico
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html