-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add session management to the UniFi PHP API (#36)
* Add session management to the UniFi PHP API (contributed by @mcmilk ) - the variable $_SESSION['unificookie'] is checked, when creating a new UnifiApi instance - the function getcookie() can be used for setting up this session variable - when a reconnect is needed, it will be done, and the global session variable will be updated with the new cookie automatically - this patch speeds up the whole API a lot * Add the use of the $_SESSION['unificookie'] to the browser.
- Loading branch information
1 parent
114e4f8
commit 9cadc12
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters