Thursday, February 28, 2013

about the php session for ajax

In fact, there is nothing serious, i just want to say that the php session  in index.html and in the php files which is used to respond to the ajax could share the same $_SESSION[];

however, you should not forget one thing, in the php files responding to the ajax, should write:

session_start();


I only know this today, which grealy faciliate my work!

No comments:

Post a Comment