# Creating docs for drb, need help

**URL:** <https://www.ruby-forum.com/t/creating-docs-for-drb-need-help/119108>\
**Category:** Rails\
**Created:** [November 3, 2007, 5:27am UTC](https://www.ruby-forum.com/t/creating-docs-for-drb-need-help/119108 "2007-11-03T05:27:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yottameter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/df705f/32.png) [@yottameter](https://www.ruby-forum.com/u/yottameter)\
**Post date:** [November 3, 2007, 5:27am UTC](https://www.ruby-forum.com/t/creating-docs-for-drb-need-help/119108/1 "2007-11-03T05:27:50Z")

</div>

I’m creating a session/drb document, trying to collect all the random  
bits out there.

[http://wiki.rubyonrails.org/rails/pages/HowToUseSessionsWithDrb](http://wiki.rubyonrails.org/rails/pages/HowToUseSessionsWithDrb)

I have a DrbStore session server running, but I would like to query it  
with a separate program. I’m using the following for that client:

#!/usr/bin/ruby  
require ‘drb’  
print “Session Program”  
DRb.start\_service  
session=DRbObject.new(nil, “druby://localhost:9192”)  
session.each\_pair do |k, v|  
print k.to\_s + “:” + v.inspect + “\n”  
end

which I get:

Session Program:#\<DRb::DRbUnknown:0xb7f0a55c  
@name=“ActionController::”,  
@buf=“\004\b{\006"\nflashIC:'ActionController::Flash::FlashHash{\000\006:\n@used{\000”\>

All the examples between serialization between client and server use  
DRbUndumped in the model to be serialized. How do I do this with rails  
without loading ActionController into the session server?

Ultimately, I’d like to add information to the session, like  
updated\_at.

Any help appreciated!
