We are using JRun4 as Application Server. We have to set the session time to 8 hours rather default 30 mins.
I tried setting the session time out in web.xml and jrun.xml, but still the session is expiring in 30 mins.
We installed Updater 5 for JRun4 also but no difference.
Please help.Its very urgent...
Originally posted by Shalini Chandel:
I didn't try that. How to use this method and where exactly I have to put it?
Can you please give some code or something for example.
You can execute this method just after authenticating the user, by getting his/her session. Moreover, you can easily get the session from the request object.
This is what I have:-
By the way, 8 hours are really a long period of time! May I ask why you plan to do that? In my environment, if I have more than 30 minutes timeout, I will have these security teams come bugging me.
It was not working when I modify web.xml. But as suggested by Adeel, It working now. So there might be some issues with JRun4.
This should be filed as a bug. I have JRun before and found serveral bugs (e,.g. session.setattribute("key",null) was not working etc)and filed them. It was resolved later.
thank u in advance