2013-02-20 2 views
1

다음과 같은 점이 다릅니다 : skip 및 : defer then from from : 이전 버전에서 defer가 사용되는 경향이 있습니까? 다양한 옵션에 대한 유스 케이스가 있습니까? 언제 사용해야합니까?rack.session.options - 언제 사용합니까?

감사합니다.

답변

2

나는 at these comments in the Rack source code 모양이 당신을 도울지도 모른다.

# :skip will not a set a cookie in the response nor update the session state 

# :defer will not set a cookie in the response but still update the session 
# state if it is used with a backend