Welcome Guest, Not a member yet? Register   Sign In
No Cache
#1

[eluser]Moon 111[/eluser]
How can I get CI to send "no cache" headers?
#2

[eluser]Mirage[/eluser]
If you want to send them for everything:
- use a hook
- autoload something (e.g. a helper or plugin)
- do it in your index.php

If you want to do it on demand
- make a helper and call that when you need it

HTH
-m
#3

[eluser]dpgtfc[/eluser]
Can you put header information in the constructors of the controllers?
#4

[eluser]Mirage[/eluser]
Yes you can. In fact you can put it anywhere in your execution flow as long as nothing has been output to the browser.




Theme © iAndrew 2016 - Forum software by © MyBB