Created
February 5, 2009 19:48
-
-
Save myobie/58954 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## In my controller | |
def test_set | |
session[:test_value] = 'This should exist.' | |
redirect_to '/test_get' | |
end | |
def test_get | |
@value = session[:test_value] | |
session[:test_value] = nil | |
render :text => @value | |
end | |
## hitting website.com/test_set redirects to /test_get and it successfully retrieves the session value (before resetting it). | |
## But it doesn't work with my restful_authentication setup: http://gist.github.com/58934 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment