如何强制托管服务器不缓存PHP代码 [英] how to force hosting server not cache php codes

查看:57
本文介绍了如何强制托管服务器不缓存PHP代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好Freind我几乎完成了我的第一个php应用程序..我在我的本地webser上写了..在我的本地服务器上正常工作,解释我的问题是在管理页面中,如果是的话应该将查看器重定向到登录页面会话未设置..我在我的admin cp页面索引的开头使用此代码来控制所有子页面。

展开 | 选择 | 换行 | 行号

解决方案

那么问题或问题是什么?


罗纳德:酷:


对不起我我不能抓住你想要的东西,你可以简单地说明一下吗?


对不起亲爱的朋友我忘了自己输入这个问题我很匆忙并且对这个问题感到不安因此我正在重新发布我的问题



..hello Freinds我几乎完成了我的第一个php应用程序..我在我的本地webser上写了..在我的本地服务器上运行正常,解释了我的问题在管理页面中,如果未设置会话,应将查看器重定向到登录页面。我在管理所有子页面的admin cp页面索引的开头使用此代码。但它不会重定向到登录。 php .instead它采取管理员cp主页..所以在我的localhost服务器上没有这样的问题..希望你低估我的意思..

展开 | 选择 | 换行 | 行号


hello Freind i have almost complted my first php application .. i wrote it in my local webser ..it works fine on my local server acctully the problem interpreting me is in admin page which should redirect the viewer to login page if the session is not set .. i am using this code at the starts of my admin cp page index that controll all the sub pages .

Expand|Select|Wrap|Line Numbers

解决方案

So what is the question or the problem?

Ronald :cool:


Hi sorry i am not cleat what u want can u expline briefly ?


sorry dear friend i forget to type the problem acctully i was in little hurry and upset bcz of this problem therefore i am reposting my question


..hello Freinds i have almost complted my first php application .. i wrote it in my local webser ..it works fine on my local server acctully the problem interpreting me is in admin page which should redirect the viewer to login page if the session is not set .. i am using this code at the starts of my admin cp page index that controll all the sub pages .but it is not redirecting to the login.php .instead it taking to admin cp main page ..however there no such problem on my localhost server ..hope you understad what i mean ..

Expand|Select|Wrap|Line Numbers


这篇关于如何强制托管服务器不缓存PHP代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆