So, given a sessionID, I have need to read and write the session stored information 'manually', from _outside_ an actual Rails request/controller.
Readers, I know your first response may be to tell me I don't really want to do that. Trust me though, I really do, it makes sense for me in my case. I know this wouldn't work if you're using the new cookie session storage mechanism. But if you're using a server-side session storage mechanism, I'm thinking there must be some reasonable way to do this. But I'm having trouble figuring it out. I've tried looking through the rails source code to see how Rails reads and write session, but I'm having trouble finding the relevant code. I also figured, gee, since Rails allows pluggable session storage architecture, there must be an abstract description of what a session store must implement, and how to access it, and that might help me -- but I couldn't find that either. Anyone have any ideas or tips? I'd like a session-storage-implementation-agnostic (assuming it's a server-side method of storage) way to read and write the session hash from outside a Rails controller. Jonathan -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

