阅读背景:

在codeigniter中未设置会话时,不允许访问控制器中的某些方法

来源:互联网 

I want user to not access certain method of controller when session is not set. For this I can check session in all method and if session is set then only go to furthur else redirect to specific page. Since I have many method that I don't want user to take access if session is not set. Its bulk to go through all method and check session. Are there any shortcut way to obtain this functionality.I want user to not access certain method of con




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: