--- [EMAIL PROTECTED] wrote: > Hello group, > > I'm having an issue with sessions. When an admin logs in on my site and has > a look at the users via an online form, he suddenly becomes that last person > in the database. I apologize for not including any code here, I'm not at a > place to copy it for you, but hope that maybe this is a common error. > So, somewhere in the code it is "resetting" who you are during your > session... > > Has this ever happened to anyone here? > > thanks! > Lance > > P.S. For the most part, my session script has been working fine for over a > year, I've only started to notice this issue.
By any chance is that last ordinary user using part of your own testing and therefore on the same machine as your admin user? We had a problem when the $_SESSION variables were unset but we were not using session_destroy(). Using the latter made the difference. James _____ James D. Keeline http://www.Keeline.com http://www.Keeline.com/articles http://Stratemeyer.org http://www.Keeline.com/TSCollection http://www.ITeachPHP.com -- Free Computer Classes: Linux, PHP, etc. Summer Semester Begins Jun 20 -- New Classes Start Every Few Weeks. ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hnbtjso/M=362329.6886308.7839368.1510227/D=groups/S=1705005703:TM/Y=YAHOO/EXP=1123093514/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</a>.</font> --------------------------------------------------------------------~-> Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
