的信息保存在服务端,Session的ID保存在客户机的Cookie中.其实,在很多server上,假设浏览器支持Cookies的话就直接使用Cookies.可是假设不支持或废除了Cookies的话就自己主动转化为URL-rewriting
Url-rewriting enables you to transparently forward requests to the new page location without breaking Increasingly this is driving developers to use URL-Rewriting and other SEO (search engine optimization
Lighttpd以其低内存占用,低CPU负载和处理速度的优化而独立于世,它使用事件驱动架构,对大量并行连接进行优化,支持FastCGI, SCGI, Auth,Output-compression, URL-rewriting
HTTPSession 建立在cookies 和URL-rewriting 上。Session的信息保存在服务器端,Session的id保存在客户机的cookie中。 事实上,在许多服务器上,如果浏览器支持的话它们就使用cookies,但是如果不支持或废除了的话就自动转化为URL-rewriting,session自动为每个流程提供了方便地存储信息的方法。
更多选项和用法可以参考 https://docs.microsoft.com/en-us/aspnet/core/fundamentals/url-rewriting?