Search found 1 match

by Evil Otto
Sun Feb 18, 2007 2:41 pm
Forum: PHP - Code
Topic: PHP setting $_SESSION vars with Ajax requests?
Replies: 1
Views: 434

PHP setting $_SESSION vars with Ajax requests?

I have a page that calls an Ajax request using an onLoad function. The request returns some code that is used to replace the innerHTML in a <div> on that page. At the same time the code also sets a $_SESSION variable, and that variable can be read within the scope of that request. Here's the functio...