Last active
December 27, 2018 05:28
-
-
Save asharirfan/dd69c118115bd51beac325780aae409f to your computer and use it in GitHub Desktop.
WP Session Entry Example.
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
<?php | |
/** | |
* WP Session Entry Example. | |
*/ | |
$wp_session_entry = array( | |
'a97941ac30b27091e9016f9fbe2a16a798a5dd17d7db58235890107bb6ce485f' => array( // User Session Token. | |
'expiration' => 1545975258 // Session Expiration Timestamp. | |
'ip' => '172.17.0.1' // IP Address of the User. | |
'ua' => 'Mozilla/5.0 (Macintosh...' // User Agent. | |
'login' => 1545802458 // Login Timestamp. | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment