The current project uses PHP to write sessions and uses sumfony to store in memcached. I now use nodejs to write a service. This session is required to verify user logon, but the user information in memcached is encrypted, I want to know how to get the data I want {code ...} m... currently, sessions written in PHP are stored in memcached using sumfony.
I now use nodejs to write a service. I need to use this session to verify user logon, but the user information in memcached is encrypted. How can I get the data I want?
'sesskfglsvv8rg2ehduatpc3p353c1': 'FwQy3UZ20Yz8f7ESac2zz1aOMmogSzDpIoJGJV9LXA8dut5it0GJH--7g1Um0MGu6AVsOiYr_sUi5FRqSt1LzW9Y47r3L3hFMmdOXuPLPUwOUYQPGujpOS1tbVga_ImcnNeL8KO2_LjjSBE45sesXr9F4tMDoaj1W5eO9RYOMF-p3aFv7y1TS7UXqlSWF4Cj'
In memcached, the key can be obtained from cookies, but the value is encrypted. How can I obtain the original string?
Reply content:
Currently, sessions written in PHP are stored in memcached using sumfony.
I now use nodejs to write a service. I need to use this session to verify user logon, but the user information in memcached is encrypted. How can I get the data I want?
'sesskfglsvv8rg2ehduatpc3p353c1': 'FwQy3UZ20Yz8f7ESac2zz1aOMmogSzDpIoJGJV9LXA8dut5it0GJH--7g1Um0MGu6AVsOiYr_sUi5FRqSt1LzW9Y47r3L3hFMmdOXuPLPUwOUYQPGujpOS1tbVga_ImcnNeL8KO2_LjjSBE45sesXr9F4tMDoaj1W5eO9RYOMF-p3aFv7y1TS7UXqlSWF4Cj'
In memcached, the key can be obtained from cookies, but the value is encrypted. How can I obtain the original string?
Http://segmentfault.com/q/1010000000256430