如何为不同的会话ID创建和存储数据到不同的cookie? [英] How to create and store data into different cookies for different session ids?

查看:104
本文介绍了如何为不同的会话ID创建和存储数据到不同的cookie?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用sessionidManager为每个请求获取唯一的会话ID。



我唯一希望将特定用户信息的数据保存到本地机器中的不同cookie。



如何使用cookie中的会话ID创建和存储数据?

解决方案

看到这个,

如何在cookie中存储对象 [ ^ ]。



您可以使用cookie的密钥进行区分。



-KR

I am able to get unique session id for each and every request by using sessionidManager.

the only thing i want to maintain data for the particular user information into different cookie in local machine.

How to create and store data using session ids in cookies?

解决方案

See this,
How to store the object in cookie[^].

And you can differentiate using the key of the cookie.

-KR


这篇关于如何为不同的会话ID创建和存储数据到不同的cookie?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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