开发者

How can we make session to not to use cookies?

开发者 https://www.devze.com 2023-01-26 21:58 出处:网络
I开发者_如何学C got this is in my homework question. Help PleaseBy setting the cookieless property to true in web.config:

I开发者_如何学C got this is in my homework question. Help Please


By setting the cookieless property to true in web.config:

<sessionState cookieless="true" />


Put the session ID in the url instead, however this is more open to security holes (for instance when people share a URL, the session ID is still there)


It's a config entry in the web.config file.

<sessionState cookieless="true" />

http://msdn.microsoft.com/en-us/library/aa479314.aspx


Try this: http://msdn.microsoft.com/en-us/library/aa479314.aspx

The basic idea is that you place information in the url instead of the cookie

0

精彩评论

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