This content has been marked as final.
Show 6 replies
-
1. Re: How can I refresh portal session?
cybershastri2000 Nov 8, 2007 2:24 PM (in response to paterczm)Yea. Even I have this problem. If any one has a solution please let us know.
-
2. Re: How can I refresh portal session?
julien1 Nov 9, 2007 9:30 AM (in response to paterczm)So you mean that if the user spends too much time using the ajax application it is logged out from the portal but this is not reflected (obviously).
-
3. Re: How can I refresh portal session?
paterczm Nov 9, 2007 10:28 AM (in response to paterczm)Yes, this is exactly what I mean. Too much time is 15 minutes by default.
So far I came up with 2 solutions, both not satisfying:1. Rise session-timeout value in web.xml located in ...deploy/portal-server.war/WEB-INF (application level setting doesn't seem to work for portal). This makes the problem less annoying.
2. Make ajax calls in the background to some portal page once in a while (user will not get logged out as long as the page is open - not tested, just an idea) -
4. Re: How can I refresh portal session?
julien1 Nov 9, 2007 3:50 PM (in response to paterczm)another option would be that you setup a servlet in portal-server.war that makes a include of your real ajax servlet in your war file.
that would keep the portal session alive. -
5. Re: How can I refresh portal session?
ameo Nov 11, 2008 10:00 AM (in response to paterczm)"julien@jboss.com" wrote:
another option would be that you setup a servlet in portal-server.war that makes a include of your real ajax servlet in your war file.
that would keep the portal session alive.
Could you please descripte this a little more ? -
6. Re: How can I refresh portal session?
twalex Jun 15, 2009 11:32 PM (in response to paterczm)I guess julien means you put the jar file that includes all your ajax servelt into the lib folder of portal-server.war?
"ameo" wrote:
"julien@jboss.com" wrote:
another option would be that you setup a servlet in portal-server.war that makes a include of your real ajax servlet in your war file.
that would keep the portal session alive.
Could you please descripte this a little more ?