aximbigfan Posted February 18, 2008 Share Posted February 18, 2008 I am using sessions to hold passwords. One thing I am tring to figure out, is if sessions cover other computers too. How exactly do sessions work? Say I set $_SESSION['test'] when I access a page on computer A Can I recall that var from computer B ? EDIT: ok, so at least according to docs, that isn't meant to happen, good. Are the session vars accessible to all the scripts run by the the user who created the session? Thanks Chris Quote Link to comment Share on other sites More sharing options...
dave420 Posted February 18, 2008 Share Posted February 18, 2008 The session data is simply data stored on the web server that is returned to PHP depending on the session ID stored in a cookie on the client's computer. If you give that session ID to another user/browser/computer, it will have the same session data as the first one. Quote Link to comment 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.