Get information about user from cookie

Re4DeRRe4DeR New
edited October 2012 in Vanilla 2.0 - 2.8

Hi everybody
is it possible to get information about user (name, id etc) from vanila cookie ? I want connect vannila with my system and I want to use login on vanila. And if user is loged and have some role, he can get to another part of websites.
And I need to decrypt cookie somehow.

I found this https://gist.github.com/700805/a98274daaf338df1fbd76a28a733d8698d7311b5 and I supose it is what I need. But it is not working :-(

thank you for replies.

Comments

Sign In or Register to comment.