From: John B. <ds...@zo...> - 2001-08-02 02:31:03
|
Through trial and (mostly) error, I found the answers to all my previous questions, however, I'm still stuck on one minor point: I have my session registration code called as the first thing in Slash.pm's header function. It gets called correctly, and does what it's supposed to. However, on the first page access (which generates the session ID from the username/password cookies that are already set), it doesn't recognize the user is logged in. On the second and subsequent accesses, slash recognizes the user properly. As far as I can tell, this means that slash is trying to get the user information before I'm setting the cookie with the session ID, but I'm not sure where it's doing this. Does anyone have any ideas on where I should be looking? Thanks, -John >A site I'm working on is using slash for message forums. I need to >be able to make slash start a user session in the event a user >accesses the forum section first, rather than going through the main >portion of the site. I will need to make datbase accesses as part of >setting up the user's session. > >It seems to me that the best place for this would be right after all >of the use lines in Slash.pm. Is this accurate? If so, what object >do I need to use to access the database functions? -- John Bafford ds...@zo... http://www.dshadow.com/ |