22 Mar 2008 2:37 AM #1
how to get session variable that php set it.
I set a session in a php with this code
and I want extJs to get a $_session[x] variable.
how to do this?it can do this?
24 Mar 2008 8:42 AM #2
same way you would get any other piece of data from the server.
either echo it into the php script's output, or fetch it separately via ajax.
24 Mar 2008 9:39 AM #3
var yourJSvar = '<?php echo $yourPHPvar?>';