]> git.defcon.no Git - hermes/blobdiff - api/auth.php
Extended session-authentication, added keying of sessions, added session houskeeping...
[hermes] / api / auth.php
index 1cad4029d9eb3d34e65110d2dc0e6523ef179ffc..6a8188ecc12ac859c217db5b933223b3fd08c696 100644 (file)
@@ -69,8 +69,8 @@ if ( !$config['sql_link'] )
                case "/ping":
                        // API clients are required to periodically ping the server
                        // The time between pings (interval) is 5 minutes?
-                       // A ping call should refresh cookie lifetimes and
-                       // generate and store a new auth_key
+                       // A ping call refreshes cookie lifetimes, then
+                       // generates and stores a new auth_key
                        // The ping required a valid session...
                        // A successful ping returns a 'response' => 'pong'
                        // along with the new auth_key.