如何让酒店客房投诉案例服务不遭到客人投诉

网页设计教程与开发
提供各种常见网页效果
提供各种各样的设计教程
装扮QQ,让QQ变得更酷
设计参考,提高自升水平
学习服务器和操作系统
提供各种素材和工具
收藏学习资料
您现在的位置:&&>>&&>>&&>>&&>>&正文
设置ASP.NET页面不被缓存(客户端/服务器端取消缓存方法)
. 代码如下: /// &summary& /// 设置页面不被缓存 /// &/summary& private void SetPageNoCache() { Response.Buffer = Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1); Response.Expires = 0; Response.CacheControl = "no-cache"; Response.AppendHeader("Pragma", "No-Cache"); }
1、取消缓存 (2)客户端取消 . 代码如下: &html& &head& &meta http-equiv="Expires" CONTENT="0"& &meta http-equiv="Cache-Control" CONTENT="no-cache"& &meta http-equiv="Pragma" CONTENT="no-cache"& &/head&
(3)服务器具端取消: 服务器端: . 代码如下: Response.Buffer = Response.ExpiresAbsolute = DateTime.Now.AddDays(-1); Response.Cache.SetExpires(DateTime.Now.AddDays(-1)); Response.Expires = 0; Response.CacheControl = "no-cache"; Response.Cache.SetNoStore();
Global里面: . 代码如下: protected void Application_BeginRequest(Object sender, EventArgs e) { HttpContext.Current.Response.Cache.SetNoStore(); } &%@ OutPutCache Location="None"%&
页面基类: . 代码如下: public class PageBase : Page { public PageBase() {} protected override OnLoad( EventArgs e ) { Response.Cache.SetNoStore(); base.OnLoad(); } }
最简单的办法 :-) 学CSDN的这个论坛,在URL后面随机的加一些没用的参数,比如: http://xxx/xxx/xxx.jpg?p=xxx IE是用过URL来控制缓存的,这样就解决了
转载请注明:破洛洛(谢谢合作)
上一篇文章: 下一篇文章:
网友评论:
[][][][][][][][][][]下载作业帮安装包
扫二维码下载作业帮
1.75亿学生的选择
酒店服务不周,遭顾客投诉,怎样写致歉信给这位顾客及让他下次再来本酒店消费?(英文致歉信)原文:I am writing to you complain about your hotel.I had a terrible stay in room 5012 of your hotel form the 24th to 26th of August 2007,when i come to guangzhou on business.Firstly……Secondly……Thirdly……I paid a lot for
my stay in your hote and expect much better service from such a well-known hotel .In future, i will not be staying at your hotel again and will inform my business associates of the terrible service.
如果是对一个外国人,就可以简单的说i apologize for our/my negligence of service.what else i can do for you?关键是态度要诚恳 ,
Dear Mr. So & so,We thank you for your letter of ddmmyyyy and your your feedback during your stay at our hotel on 24th to26th August 2007, we regret that that our negligence
of services has caus...
为您推荐:
扫描下载二维码}

我要回帖

更多关于 遭到恶意知识产权投诉 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信