会话存储在哪里? [英] where is session stored.?

查看:78
本文介绍了会话存储在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
会话值存储在哪里?
在服务器或客户端浏览器中.

会话和cookie之间有什么联系??

hi all,
where is session values are stored?
in server or client browser.

what is the connection between session and cookies.?
advance thnks.

推荐答案

仅会话ID存储在cookie中.
实际的会话数据存储在数据库或服务器上(基于会话模式).
Only the session id is stored in the cookie.
The actual session data is stored on the database or on the server (based on the session mode).


Cookie是少量数据,存储在客户端文件系统上的文本文件中或在客户端浏览器会话中的内存中. Cookies主要用于跟踪数据设置.

会话通常存储在 Web服务器的
上 memory.Session对象可用于存储特定于会话的信息,这些信息需要在服务器往返之间以及页面请求之间进行维护.会话是基于每个客户端的,即不同的客户端对象具有不同的会话对象.

希望对您有所帮助:)
Cookies are small amount of Data stored either in a Text File on the client file system or in memory in the client browser Session. Cookies are mainly used for tracking Data Settings.

Sessions are typically stored on the Web server''s
memory.Session Object can be used for storing Session specific information that needs to be maintained between server round trips and between requests for pages. Session is per client basis that is different client object have different session Object.

hope it helps :)


这篇关于会话存储在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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