Hi, I think you should use database for this problem as, create a table to keep info about logged in users, when a user log in insert a row in that table having information about user,ip-address and log in time etc. when a user log-out delete the row against that ip-address. One the other app which is dealing with chat, connect to that database and check that is there any session entry against that ip-address if yes then it means the user is logged in else not logged in.
Regards Hashim Ikram On Mon, Aug 16, 2010 at 12:51 AM, Davor Ilic <[email protected]> wrote: > Hi, > > does anyone know an answer for my issue? > > thanks > > 2010/8/11 Davor Ilic <[email protected]> > > Hi, >> >> how i can use sessions in cake. My problem is i have two different apps on >> my webserver runing. >> >> With the one the user can registrate and login. And this one crates an >> session. >> >> Now the other app an chat would call with popup. My problem here is how to >> call the session which is seted by the other weblogin. >> >> I need now to know which session is set for the user to use it for my >> chatapp, how i call the session from other webapp. >> >> >> > Check out the new CakePHP Questions site http://cakeqs.org and help > others with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
