Illegal attempt to associate a collection with two open sessions

3 views
Skip to first unread message

Martin Palatnik

unread,
Jan 9, 2009, 11:23:23 AM1/9/09
to nhusers
I have the following problem.

I'm using session-per-conversation pattern through burrow. Using
conversations i have a session that remains open between a few
postbacks and in that page i store an object X in the asp session
(using Lock) . On another page i want to associate the same object X
with another nh session and i get an exception "Illegal attempt to
associate a collection with two open sessions" (the object has a
collection inside it).

How can I solve this problem and still use conversations?

Ayende Rahien

unread,
Jan 9, 2009, 12:49:47 PM1/9/09
to nhu...@googlegroups.com
you have to evict it from the first session
Reply all
Reply to author
Forward
0 new messages