• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
senthil sen
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if i set session in a weblogic server,and i set in my application,which will have first preference?
 
Sai Prasad
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you explain more about setting session in weblogic server? I don't understand what you mean.
 
senthil sen
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can override the session time out value mentioned in web.xml programatically.
 
senthil sen
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you override the session timeout from your application, your application gets the priority.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic