I am using PHP, for some reason and I want to switch sessions from using cookies to string, so what is best way to use Sessions with cookies by using GET variable? Should we need to use session id in GET variable? Or some other things? If I will use GET variable with session id inside 开发者_运维知识库get then how will I get session according to that session id? If some one have idea then please share.
thanks in advance.
Assuming you're using Apache,
php_flag session.use_trans_sid = 1
php_value session.use_only_cookies 0
However there are good reasons why cookies are better.
精彩评论