Prevents the use of back button on your browser, bug:
Login, after logout, back button and return protected area.
prevents the use of back button on your browser
Good idea, but I think it's better to:
1) Use the Kohana way of setting headers (something like Request::$initial->response()->headers('cache-control', ...))
2) Make it a config session so people can turn it on/off (eg if you prefer different cache control headers)
What do you think?!
change mode headers, fix bug back-button
I've choosed first option =)
Config cache Control
Added support config in cache control
Changed, using the suggestions
Move cache control to instance method
Great work, thank you!
Made some small modifications to make it a bit more clear what the setting actually does. Please take a look and let me know what you think!
It looks great, I like it, thank you very much for accepting the suggestion