开发者

best way to use session without cookies via ge

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜