How to force cookies, disable php sessid in URL ? | ||
| ||
| This commands disables php from rewriting URLs to add a phpsessid, and forces the use of cookie sessions instead. Using cookies is largely thought of as the preferred way to use sessions - both more secure and better for SEO. This can be accomplished by setting the appropriate values in php.ini, or at runtime. This snippet shows a runtime example:
| ||
| | ||
| |