| 
							
					| Beginner |  
					|  |  Joined: Thu Nov 29, 2007 4:36 am
 Posts: 20
 | 
				
					| Hi.
My situation is like this :
 I have a CustomerOrder for when a customer starts an order. The order is kept in session.
 
 I am using SessionPerRequest.
 
 The thing is that when the customer selects  a new product, the old session is closed. So if I go CustomerOrder.Client(client being lazy loaded) - "failed to initialize - no session".
 
 I have currently an NH session kept in the asp.net session ... but it seems to bring more hurt than joy :).
 
 Any suggestions to this ?
 
 
 I was thinking of keeping the orderid in session and at every request to reload the Order from the database ... so it will stay "fresh" :)
 
 Any thoughts ?
 
 
 |  |