开发者

How can we make session to not to use cookies?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜