I do not understand how to use and use php session.use_trans_id.
The online documentation says:
the session.use_trans_sid runtime parameter is enabled, relative URIs will be changed to contain the session identifier automatically. Does this mean that ALWAYS will add a session identifier? Or only when cookies do not work?
Will it automatically add it to javascript window.location or ajax calls?
In addition, the php.ini file says:
trans sid support is disabled by default.
Use of trans sid may risk your users security.
Use this option with caution.
- User may send URL contains active session ID
to other person via. email/irc/etc.
- URL that contains active session ID may be stored
in publically accessible computer.
- User may access your site with the same session ID
always using URL stored in browser history or bookmarks.
http://php.net/session.use-trans-sid
I am confused, online docs said that Unless you are using PHP 4.2.0 or later, you need to enable it manually. So why will it be disabled by default? (I am using php 5).
Also, is this feature NEEDED to handle users with cookies disabled?