M
M
Mikhail2019-11-29 00:09:54
Magento
Mikhail, 2019-11-29 00:09:54

What is the format of this text (sessions from magento)?

I understand correctly that these are cookies, but in what format? I can use them
The text itself -

core|a:3:{s:23:"_session_validator_data";a:4:{s:11:"remote_addr";s:13:"75.83.132.178";s:8:"http_via";s:0: "";s:20:"http_x_forwarded_for";s:0:"";s:15:"http_user_agent";s:121:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36";}s:9:"_form_key";s:16:"HVeIYhpMGnRcglhw";s:8:"messages";O:34:"Mage_Core_Model_Message_Collection":2:{s: 12:"*_messages";a:0:{}s:20:"*_lastAddedMessage";N;}}adminhtml|a:3:{s:23:"_session_validator_data";a:4:{s:11: "remote_addr";s:13:"75.83.132.178";s:8:"http_via";s:0:"";s:20:"http_x_forwarded_for";s:0:"";s:15:"http_user_agent ";s:121:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36";}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2019-11-29
@TheMaxai

core - key
| - the separator
is all that follows - serialized data
https://www.php.net/manual/en/function.serialize.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question