theuser.getSession(false) vs getSession(true) [message #130537] |
Sun, 31 July 2005 22:19 |
ying
Messages: 143 Registered: May 2002
|
Senior Member |
|
|
Hi,
For your information that we are using Oracle JSP and the application is attached in our Oracle Portal as a portlet.
1.)Due our external application developer create our JSP application by using the ProviderSession sess = theuser.getSession(false) for every single page of our JSP page, so after the JSP page is modified, retranslated, reloaded, the NULL value will be returned (By default, the Oracle JSP container restarts the application and sessions whenever a JSP page is dynamically retranslated and reloaded (which occurs when the JSP translator finds a .jsp source file with a more recent timestamp than the corresponding page implementation class)) so, we are required to login and logout the portal(this is very time consuming during system development), Just would like to know, Which is the BEST practise???? And how should we solve the problem?? it is very diffult for me to change it page by page, so is there any possible way for me to solve the problem by do some setting so that it can apply to all???
pls advise..........
|
|
|