Ruby on Rails Sunday, December 30, 2012

My requirement is to make a controller method to be able to accept
session id from cookie, if it is disabled/not available then from
request body.

This way I will return a session id from login request and use the same
session_id for any subsequent request body, if it's not a browser
request.

Will this work?

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment