开发者

Using Form Authentiucation when Browser Cookie settings is disbled

开发者 https://www.devze.com 2023-03-18 21:08 出处:网络
I am looking for a s开发者_运维技巧olution, or a good article how to maintain user information when cookie option is disabled in browser.

I am looking for a s开发者_运维技巧olution, or a good article how to maintain user information when cookie option is disabled in browser.

Any link or code how can I do this?

Thanks


How do you think any session-specific information will get from the browser to you if the client doesn't send any information?

The traditional way would be to pass a session identifier in GET and POST requests, though that suffers from serious security risks. Best to just tell the client they need to allow session cookies.

(I could think of a more roundabout way of using AJAX and client-side storage to request session-specific bits of data from the client's runtime, but it'd all boil down to URL parameters in a GET/POST request.)

0

精彩评论

暂无评论...
验证码 换一张
取 消