3

Real simply question: can Castle ActiveRecord open a stateless session? If so, how would I do it? And if not, how would I go about opening a stateless session without it?

Daniel T.
  • 37,212
  • 36
  • 139
  • 206

1 Answers1

2

StatelessSessionScope does the trick. It's part of AR 2.1

Krzysztof Kozmic
  • 27,267
  • 12
  • 73
  • 115
  • Thanks! Now I just have to wait until the stable is released :). – Daniel T. Jan 06 '10 at 20:37
  • StatelessSessionScope is actually in RC 2.0 (the stable version available from their main page): http://www.castleproject.org/castle/download.html Are they making significant changes to it in 2.1? – Abby Fichtner Jan 10 '10 at 19:05
  • Krsysztof, is there any single sample over the internet about StatelessSessionScope usage? I did not find it neither on CastleProject site nor in Google! – Alex Jul 24 '11 at 07:00