Allow the session to be skipped. #277

Merged
merged 1 commit into from Nov 30, 2011

Projects

None yet

2 participants

@josevalim
Official Rack repositories member

This will not send a cookie back nor change the session state.

The :defer option did not send the cookie back but did change the session
state in the backend.

This is useful for assets requests that still go through the rack stack
but do not want to cause any change in the session (for example accidentally expiring flash messages).

@josevalim josevalim Allow the session to be skipped.
This will not send a cookie back nor change the session state.

The :defer option did not send the cookie back but did change the session
state in the backend.

This is useful for assets requests that still go through the rack stack
but do not want to cause any change in the session (for example accidentally expiring flash messages).
8f9419d
@rkh rkh merged commit ccb3275 into rack:master Nov 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment