Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

August 05 2010

paulasmuth
Play fullscreen
The Game - Blackout (New Song\2010)

July 31 2010

paulasmuth
Play fullscreen
Bun B - Let Em Know (Promo Video)

July 11 2010

paulasmuth
Play fullscreen
Lil Wayne - Georgia Bush

July 07 2010

paulasmuth
Play fullscreen
Westwood - *EXCLUSIVE* Eminem freestyle Radio 1

June 20 2010

paulasmuth
Play fullscreen
Hepatitis Blau - Zeltplatzveteranen (FlowOne, Schulte & QingMaras)

June 18 2010

paulasmuth
Play fullscreen
DJ Jooz- Soldierz (Ft. C-Ride) (prod. by B.O.U.L.E)

June 17 2010

paulasmuth
Play fullscreen
Big Tyme feat. Snoop Dogg & Calico Jonez - Rockin My Chucks (Remix) Hot NEW 2010

June 16 2010

paulasmuth
Play fullscreen
disposal of sodium

June 13 2010

paulasmuth
Play fullscreen
Dough Boy - Birds Flying High

June 07 2010

May 29 2010

May 28 2010

paulasmuth
7743_ff03_500
Reposted byIch-Halttook
paulasmuth

HowTo: Share a session with mutliple subdomains in Rails

Sharing a Session between multiple subdomains/rails-apps is quite easy.

Make shure you're using the ActiveRecord (db-based) session store and all instances share the same secret (- obviously the same db, too). In config/environment.rb (config-block):

  config.action_controller.session_store = :active_record_store #store session in db
  config.action_controller.session = {
	:session_key => '_MYWEBAPP', #has to mach over all instances
	:secret      => 'mysecretmysecretmysecret' #has to mach over all instances
  }

Tell rails to set the session-cookie on "all subdomains" by adding this line to config/environments/myenvironment.rb. Note the leading dot in ".mydomain.com".

	ActionController::Base.session = { :domain => '.mydomain.com' }

(Apprently this works only for rails >= 2.3)

paulasmuth

HowTo: Share a session with mutliple subdomains in Rails

Sharing a Session between multiple subdomains/rails-apps is quite easy.

Make shure you're using the ActiveRecord (db-based) session store and all instances share the same secret (- obviously the same db, too). In config/environment.rb (config-block):

  config.action_controller.session_store = :active_record_store #store session in db
  config.action_controller.session = {
	:session_key => '_MYWEBAPP', #has to mach over all instances
	:secret      => 'mysecretmysecretmysecret' #has to mach over all instances
  }

Tell rails to set the session-cookie on "all subdomains" by adding this line to config/environments/myenvironment.rb. Note the leading dot in ".mydomain.com".

	ActionController::Base.session = { :domain => '.mydomain.com' }

(Apprently this works only for rails >= 2.3)

paulasmuth
Play fullscreen
"Regulierungskonferenz Berlin" - Ein Kommentar von Gernot Hassknecht, RB | heute show ZDF

May 25 2010

paulasmuth
Play fullscreen
Rucka Rucka Ali ~ Me No Rikey YouTube Part 2- No More DJ Nice Guy

May 16 2010

paulasmuth

May 15 2010

paulasmuth
Play fullscreen
Drama queen

May 13 2010

paulasmuth
Play fullscreen
2 naljakat narkomaani
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.