I'm using PHP session handler to implement persistent session on my site.
The problem is that at some point, I need to insert the user\_key into another MySQL table and I don't know how to retrieve that information from the code.

For example, the data row into my session table is:

```
active|i:1487613760;user_username|s:20:"v.lima06@hotmail.com";user_key|s:8:"a5186adc";authenticated|b:1;user_name|s:12:"victor";user_email|s:20:"v.lima06@hotmail.com";remember|b:1;

```

and I would like to know if there is a simple way to get the user\_key variable.

Sorry if it was a bit confusing.