|
9精币
通过访问https://rmb.pingan.com.cn/rmb/brcp/uc/cust/uc-login-web.qryLoginStatus.do三次,一次不同手机号,两次相同手机号得到cookie一部分如下
{"outerid":"ou0002026","downapp_id":"AM001000159","cid":"zqhj392","pushid":"","source":"","outersource":"","channel_source":"","innerid":"","campaignid":"201904004975","usertagid":"","_bid_id":"","strategyid":"","traceid":"","ai_id":"","timetag":1574702042252,"deviceid":"","sessionid":"4e697c5a-8453-41f0-8c84-d352c59dded4"}
{"outerid":"ou0002026","downapp_id":"AM001000159","cid":"zqhj392","pushid":"","source":"","outersource":"","channel_source":"","innerid":"","campaignid":"201904004975","usertagid":"","_bid_id":"","strategyid":"","traceid":"","ai_id":"","timetag":1574705407970,"deviceid":"","sessionid":"e0d335e6-d09f-4d8f-8236-1411c9a894cb"}
{"outerid":"ou0002026","downapp_id":"AM001000159","cid":"zqhj392","pushid":"","source":"","outersource":"","channel_source":"","innerid":"","campaignid":"201904004975","usertagid":"","_bid_id":"","strategyid":"","traceid":"","ai_id":"","timetag":1574705407970,"deviceid":"","sessionid":"e0d335e6-d09f-4d8f-8236-1411c9a894cb"}
如何取得或者生成sessionid???
|
最佳答案
查看完整内容
sessionid 不应该是服务器生成返回的吗? ,当浏览器第一次访问服务器的时候 服务器会检查cookie中是否带有 sessionid 如果木有就生成个 响应的时候自动带入返回cookie中的 如果有sessionid 那就执行对应的操作的 一般sessionid 是存储用户登录信息什么的 所以按照javasession来说 应该是服务器生成的
|