jquery ajax and php session -
i have simple web page has 3 tabs in main content area. once user clicks on particular tab, use jquery , ajax fetch data server , (of course) without reloading change div below 3 tabs.
i use $.post data server , there 3 different php files on server call (one each tab) , data from.
is possible start php session when user clicks on first tab , save $_session variables , use them when user clicks on second or third tab know user clicked on second or third tab?
thanks! newman
yes, sessions shared across php scripts. whatever save in first tab readable on 2nd , 3rd tab. keep in mind
edit: thing keep in mind here domain should remain same scripts able see session.
Comments
Post a Comment