Created
May 7, 2020 13:47
-
-
Save StoneLabs/fe04a8437a952c57ae539b29f91bb8ac to your computer and use it in GitHub Desktop.
PHP Session ID from JS
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
var sId = /SESS\w*ID=([^;]+)/i.test(document.cookie) ? RegExp.$1 : false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment