-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Best Practice for Session management
PostPosted: Wed Nov 25, 2009 5:03 am 
Newbie

Joined: Mon Nov 02, 2009 9:52 am
Posts: 19
What is the best way to manage sessions in a complex multiuser application?

Almost every user interaction creates changes to the database. I would like to use one session for the whole application.
So as the user starts the application, the session would be created and if he exits the application the session gets closed.
But every tutorial i've found used one session per operation. Maybe this is because of the low complexity of the examples?

Are there any recommends on this issue?


Top
 Profile  
 
 Post subject: Re: Best Practice for Session management
PostPosted: Thu Nov 26, 2009 2:26 am 
Expert
Expert

Joined: Thu Dec 14, 2006 5:57 am
Posts: 1185
Location: Zurich, Switzerland
May be that helps:

http://fabiomaulo.blogspot.com/2008/12/conversation-per-business-transaction.html

http://nhforge.org/blogs/nhibernate/

_________________
--Wolfgang


Top
 Profile  
 
 Post subject: Re: Best Practice for Session management
PostPosted: Thu Nov 26, 2009 7:55 am 
Newbie

Joined: Wed Feb 11, 2009 11:04 pm
Posts: 2
You may also want to read this excellent article if you are dealing with ASP.NET:

http://www.codeproject.com/KB/architect ... spx#BASICS

regards,

--qu


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.