This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
jQuery in Action, 2nd edition
 
subject: if i set session in a weblogic server,and i set in my application,which will have ..
 
Similar Threads
WebLogic 9.2 clustering problem
Classpath
JSP and EJB
EJB 3 TransactionTimeout annotation needed
session timeout setting on iPlanet server