Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.0k views
in Technique[技术] by (71.8m points)

客户通过url+url携带的参数访问服务器的一个静态页面,如何记录下客户访问携带的url参数?

比如客户访问的是
http://ip:7001/chatClient/phone/index.html?v_t=C8ADC4819ED1FA&customerSessionId=JVHXBBE

客户只访问静态页面,不进入后台,如何记录下,客户来访的
v_t与customerSessionId参数?

后台是java写的


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

请问参数是用来做什么的?在什么时候会用到这些参数?
存储数据一般都是通过后端程序去操作,例如通过 xhr fetch 或是提供 http 请求的 js 插件记录给后端。
当然要通过 js 存储在本地也是做得到的。StoreIndexedDBCookie


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...