Will disabling JavaScript affect PHP sessions?
Will there be any effect on PHP Session开发者_开发百科 in case of disabling Javascript?
No.
You're Welcome
Brandon
As far as I know, no.
Disabling cookies can affect PHP session, but it's possible to workaround it.
No, PHP sessions are read/written to the cookies that are sent via the headers in an HTTP request. Javascript plays no part in this(unless your JS code is manipulating the session data, however I highly doubt you are doing this).
If you're not using ajax, no, if you are, perhaps (if your application is well-designed, it shouldn´t).
That really depends on your application. If you mess with the session cookie in JS in your app, then yes, the PHP session will be affected.
You're almost certainly not doing this, however, so you should be fine.
精彩评论