php Remove the Configuration Method of PHPSESSID from the URL of URL

  • 2021-07-07 06:51:14
  • OfStack

This situation occurs mainly under the Linux platform, mainly due to the configuration problem of session.use_trans_sid in php. ini.

Set session.use_trans_sid = 1 in php. ini or turn on the enable-trans-sid option at compile time so that PHP automatically passes session id across pages, then session id passes & PHPSESSID, this situation may bring a lot of trouble to the development of PHP and the standardization of URL, which can be solved by changing session.use_trans_sid = 0.


Related articles: