Re: [phpslash-users] Newbie session problem
Brought to you by:
joestewart,
nhruby
From: Matthew L. <lei...@ma...> - 2004-04-05 11:17:27
|
Dear Patrick, PHPSlash uses the old-style PHPLIB framework for session management (which is a wrapper around PHP4 new-style sessions). Session variables are in the global namespace. However, PHPSlash has only one session variable, and that's $auth. It's an object of a class extending PHPLIB's auth class. If you want the username, look in the array $auth->auth. Other information about the user can be found in the database. What else are you looking for? Yours, Matthew Leingang On 4/2/04 7:41 PM, "pat...@ne..." <pat...@ne...> wrote: > Hi, I'm a bit new to PHP and sessions, and I can't figure out how to access > the session variables (like username) in PHPSlash. I can get the session id > and I've looked through the session file in /tmp , so I know that a session > exists, but I just can't access the variables. Can someone please tell me how > to extract this info? Thanks > > __________________________________________________________________ > Introducing the New Netscape Internet Service. > Only $9.95 a month -- Sign up today at http://isp.netscape.com/register > > Netscape. Just the Net You Need. > > New! Netscape Toolbar for Internet Explorer > Search from anywhere on the Web and block those annoying pop-ups. > Download now at http://channels.netscape.com/ns/search/install.jsp > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > phpslash-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpslash-users > -- Matthew Leingang Preceptor in Mathematics, Harvard University lei...@ma... |