Jump to content

Exchange data Javascript to PHP in the $_SESSION array


ronverdonk

Recommended Posts

I do not think that it's possible as js is only a browser side script language.

But you can use XMLHTTPReqeust object to send data to a php function which will set the session variable for you and then you can use that variable. It's ajaxian approach by the way

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.