我们的客户希望在其网站的公共部分完全没有任何 cookie。当然,对于我们使用的后端工具,我们广泛使用会话状态,但对于站点的公共部分并不是必需的。
仅仅让匿名访客离开会场,而是让挂牌用户离开会场吗?
我们的客户希望在其网站的公共部分完全没有任何 cookie。当然,对于我们使用的后端工具,我们广泛使用会话状态,但对于站点的公共部分并不是必需的。
仅仅让匿名访客离开会场,而是让挂牌用户离开会场吗?
页: 1
但是,你可以合理地将你的申请与似乎对用户无缝的各种不同工具分开。
抱歉,无法翻译“ie”。请提供更多上下文。
wwwrootmyapp (public site, no cookies)
wwwrootmyappprivate (virtual directory, actually a different app)
当然,这要求公共部分在公用/挂牌用户之间没有任何区别。
如果您只是想避免静态文件(图像/ JavaScript / CSS等)的Cookie开销,可以设置一个无Cookie域并从那里提供内容,一个指南在这里:http://www.ravelrumba.com/blog/static-cookieless-domain/
那可能会减少饼干流量90%。
你或许可以运用同样的原则把已登录用户导向另一个域名,在那里进行登录并设置Cookies。
如果他们不想要 co子,因为这些 co子是第三方 co(该遗址由不同地点的iframe托管)和IE没有允许这样做,那么,你可以使用P3P说服IE:它冷却:。
如果他们出于原则不想要Cookie,那么你有点运气不好,虽然Asp.Net支持无Cookie会话,但它们即使在SSL上也不安全(在URL中传输会话ID),并且还有其他问题(丑陋的URL,WCF出问题等)。如果客户端对Cookie有严格限制,这可能是一个可行的选项。
In my webpages I have references to js and images as such: "../../Content/Images/"Filename" In my code if I reference a file as above, it doesnt work so i have to write: "c:/miscfiles/"filename" 1-...
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...
I m looking for best practices here. Sorry. I know it s subjective, but there are a lot of smart people here, so there ought to be some "very good" ways of doing this. I have a custom object called ...
I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...
i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...
For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?
I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!