This is more of a general PHP question.<div><br></div><div>Cookie = client side information. Can be manipulated on the client side.</div><div>$_SESSION = server side information. The only thing that's stored on the client site is a session id. Cannot be manipulated on the client side.</div>
<div><br></div><div>See here: <a href="http://www.tizag.com/phpT/phpsessions.php">http://www.tizag.com/phpT/phpsessions.php</a></div><div><br clear="all">Thanks,<br>Cameron<br><br>
<br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 04:45, John Mitchell <span dir="ltr"><<a href="mailto:mitchelljj98@gmail.com">mitchelljj98@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
What is the difference between the $_SESSION array and client side cookies?<br>I know that client side cookies can be updated and accessed within javascript on the client side and that the $_SESSION array can be accessed within modules. My question is can the $_SESSION array also be updated and accessed within javascript on the client side.<br>
<br>John<br><font color="#888888"> <div style="display:inline"></div><br>
-- <br>John J. Mitchell<br>
</font></blockquote></div><br></div>