chiprivers Posted September 20, 2010 Share Posted September 20, 2010 I am producing a php script which will include some AJAX in the resultant web page, which will send some data to another php script for processing. If I create a php session in my original script, will the same session be accessed by the second script being run by the AJAX or will it create a new session? Quote Link to comment https://forums.phpfreaks.com/topic/213939-session/ Share on other sites More sharing options...
schilly Posted September 20, 2010 Share Posted September 20, 2010 same session if it's on the same server. Quote Link to comment https://forums.phpfreaks.com/topic/213939-session/#findComment-1113481 Share on other sites More sharing options...
prcollin Posted September 21, 2010 Share Posted September 21, 2010 and as long as you remember to run the session on each page. Quote Link to comment https://forums.phpfreaks.com/topic/213939-session/#findComment-1113502 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.