Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using PHP session variable in perl

Can I use a session variable that I have created with php in perl?

like image 967
sobin yohannan Avatar asked Jun 25 '10 09:06

sobin yohannan


1 Answers

Theoretically you could: you just need to know where (and also how) the PHP session is saved. If it is a normal file-based session save handler - you just need to have access to read PHP session files. Then you can read the content out of it and unserialize it (because PHP saves all session content serialized there). For unserializing you can use PHP serialize and unserialize in Perl implementation.

like image 178
Laimoncijus Avatar answered Oct 18 '22 12:10

Laimoncijus