Posted by mcauser on 11/24/05 07:38
Your could possibly use some form of AJAX inside your javascript
function to post the data to another php page that sets the variables.
You wont be able to access the session variables on the above page that
contains the javascript though because the php code on the page has
already been executed prior to the javascript being interpreted. You
will need to either refresh the page or navigate to another.
If you are going to do that, you might as well just include at the top
of the subsequent page the save session vars script...
Navigation:
[Reply to this message]
|