php and v8cgi session sharing

13 views
Skip to first unread message

Jacek Pospychała

unread,
Jul 2, 2011, 11:28:36 AM7/2/11
to v8cgi
hi,

I've got an application in php on apache.
I want to add server-side JS scripts that would be running in
mod_v8cgi on the same server.
Is there any way to access php $_SESSION from within JS code in
mod_v8cgi?

thanks a lot!

Jacek

Kiswono Prayogo

unread,
Jul 2, 2011, 12:06:12 PM7/2/11
to v8...@googlegroups.com
easy way: use database to store your sessions..
hard way: read the php session files manually..

Jacek Pospychała

unread,
Jul 2, 2011, 3:29:25 PM7/2/11
to v8cgi
ok, thanks

looks like I did it hard way :-)

if interested, see https://github.com/jpospychala/v8cgi_phpsession


thanks,

Jacek
Reply all
Reply to author
Forward
0 new messages