aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/lib/action_controller/session/drb_server.rb
blob: 6005b8b2b3069b3e47968d32abffac4c24587e13 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                
#!/usr/local/bin/ruby -w
                                                                                
# This is a really simple session storage daemon, basically just a hash, 
# which is enabled for DRb access.
                                                                                
require 'drb'

DRb.start_service('druby://127.0.0.1:9192', Hash.new)
DRb.thread.join