wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes if i set session in a weblogic server,and i set in my application,which will have .. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "if i set session in a weblogic server,and i set in my application,which will have .." Watch "if i set session in a weblogic server,and i set in my application,which will have .." New topic
Author

if i set session in a weblogic server,and i set in my application,which will have ..

senthil sen
Ranch Hand

Joined: Oct 10, 2002
Posts: 184
if i set session in a weblogic server,and i set in my application,which will have first preference?
Sai Prasad
Ranch Hand

Joined: Feb 25, 2002
Posts: 560
Can you explain more about setting session in weblogic server? I don't understand what you mean.
senthil sen
Ranch Hand

Joined: Oct 10, 2002
Posts: 184
say am creating a session object in my application like session.setTimeout(secs) or session.setInterval(secs)
And if i set my session in the weblogic servers web.xml
<session>secs<session>
Now which will be given the first preference..when the session is performed during the access of the this application.
Sai Prasad
Ranch Hand

Joined: Feb 25, 2002
Posts: 560
You can override the session time out value mentioned in web.xml programatically.
senthil sen
Ranch Hand

Joined: Oct 10, 2002
Posts: 184
well even we override what will the preference be given during runtime,when the file is loaded.
The weblogic or the application session will be given the preference..
Sai Prasad
Ranch Hand

Joined: Feb 25, 2002
Posts: 560
When you override the session timeout from your application, your application gets the priority.
 
wood burning stoves
 
subject: if i set session in a weblogic server,and i set in my application,which will have ..