A1 send headers #16

Merged
merged 5 commits into from Nov 17, 2011

3 participants

@Ajaxman

Prevents the use of back button on your browser, bug:

Example:

Login, after logout, back button and return protected area.

@Wouterrr
Owner

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?!

@Ajaxman

I've choosed first option =)

@Ajaxman

Changed, using the suggestions

@Wouterrr Wouterrr merged commit 4d5d92d into Wouterrr:master Nov 17, 2011
@Wouterrr
Owner

Great work, thank you!

@Wouterrr
Owner

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!

@Ajaxman

It looks great, I like it, thank you very much for accepting the suggestion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment