good idea, please submit a patch or commit it! :) On Mon, Apr 11, 2011 at 3:19 AM, Jakub Jankiewicz <[email protected] > wrote:
> PHP sessions are created using cookies, so if you have your own session > system based on cookies it will be the same. If you need session > variable you create token in aiki_users (md5 over timestamp) and create > table aiki_session where variable is stored. > > in current session system can be solution by fetching php generated page > with AJAX, so session will be refreshed. > > -- > You received this bug notification because you are a member of Aiki > Framework Developers, which is subscribed to aikiframework. > https://bugs.launchpad.net/bugs/734776 > > Title: > there should be remember me option > -- Jon Phillips http://rejon.org/ | http://fabricatorz.com/ chat/skype: kidproto | irc: rejon +1.415.830.3884 (global) | +1-510-499-0894 (sf) +86-187-1003-9974 (beijing) -- You received this bug notification because you are a member of Aiki Framework Admins, which is subscribed to aikiframework. https://bugs.launchpad.net/bugs/734776 Title: there should be remember me option Status in Aiki Framework: Confirmed Bug description: If you don't access admin panel for a moment some time PHP session is expired. So when I have opened admin panel try to call for example sql query it display "this don't have permissions". this can be fixed by creating own session implementation using cookies with 30 days expiration date. If Aiki use $_SESSION variable then it can be replaced by storing session variables in database. if sessions will be in database then it will be accesable. $aiki->sessions->current_session->user_name it will allow to monitor all sessions for all users (this is widget content) <div> <p>All logged users</p> <php for ($aiki->sessions->all() as $session) { echo "<li>" . $session->name . "</li>"; } php></div> <p><php count($aiki->sessions->all()); php> users online</p> _______________________________________________ Mailing list: https://launchpad.net/~aikiframework.admins Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework.admins More help : https://help.launchpad.net/ListHelp

