[Typo3-dev] logout doesn't kill fe session?

Wengrzik, Andreas Wengrzik at ewr.de
Wed May 12 17:21:49 CEST 2004


Only adding this AND feuser.is_online part cause some errors.
Maybe we have to completely rewrite this function???



> -----Original Message-----
> From: Martin T. Kutschker
> [mailto:Martin.no5pam.Kutschker at blackbox.n0spam.net]
> Sent: Wednesday, May 12, 2004 5:05 PM
> To: typo3-dev at lists.netfielders.de
> Subject: Re: [Typo3-dev] logout doesn't kill fe session?
> 
> 
> Wengrzik, Andreas wrote:
> > Got the same problem with cwt_community extension here´s 
> the part doing the check:
> > 
> > function doGetOnlineUids()
> >     {
> >         // Fetch uids
> >         $temp = array();
> >         $uids_online = $this -> doDatabaseQuery("SELECT 
> fe_sessions.ses_userid FROM fe_users, fe_sessions WHERE 
> fe_users.uid = fe_sessions.ses_userid AND (fe_users.username 
> LIKE '" . $letter . "%' OR fe_users.username LIKE '" . 
> strtoupper($letter) . "%')");
> >         for ($i = 0; $i < sizeof($uids_online);$i++) {
> >             $temp[] = $uids_online[$i]['ses_userid'];
> >         }
> >         // return
> >         return $temp;
> >     }
> > 
> > 
> > Anyone can please set up this function that i get the right 
> information??
> 
> Try Daniels idea and add a "AND feuser.is_oline" to the query.
> 
> Masi
> 
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
> 





More information about the TYPO3-dev mailing list