php中session.use_cookies的使用 [英] Use of session.use_cookies in php

查看:27
本文介绍了php中session.use_cookies的使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我将 session.use_cookies 的值更改为 truefalse ,我已经四处寻找对 php session 的影响,但是有似乎对其工作方式没有影响.

I have searched around to find the impact on php session if I change the value of session.use_cookies to true or false but there seems to be no impact on how it works.

session.use_cookies 在 php 中有什么用,为什么需要它?

What is the use of session.use_cookies in php and why it is required?

推荐答案

这就是你想在客户端管理你的 session id 的方式,如果设置(默认) session id 将存储在 cookie 中,否则将传递在 url 中作为 GET 变量.

This is how you want to manage your session id in client side, If set (default) the session id will be stored in cookies, otherwise it will be passed in url as a GET variable.

这篇关于php中session.use_cookies的使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆