Update of progress and question regarding DominoSessionManager

Hi,

I posted a new topic a little while back about the DominoSessionManager and it’s use in the JSP Tag Library. Here is the thread → http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/c4fd43660bc4661385256ff60045ef27?OpenDocument

So, my update is… in my portlet class, I am instantiating a DominoSessionManager and placing it into the session. It seems to be working except for one thing… it immediately is disconnecting from the server rather than keeping the connection open. So, that’s one issue.

The other issue is that Steve Leland was very helpful with suggestions for using DominoSessionManager and Steve, if you are out there, can you elaborate more on using the HttpSessionBindingListener? I want to use that rather than a common JSP so that I can share the session between portlets. I tried extending the DominoSessionManager as my bindinglistener but that didn’t seem to work. Can you just explain what I would need to do there to get it working.

Thanks,

Eric

Subject: Update of progress and question regarding DominoSessionManager

Hi Eric,

Yup, I’m out there :slight_smile:

Please send me an email - sleland@us.ibm.com. Google is very helpful for questions on things like HttpSessionBindingListener, and I’m happy to help with my stuff. What I don’t understand is what you hope to accomplish using either of them.

There are 2 things you need to do to keep Domino JSP tag sessions open for longer than the default, which is for the span of the domino:session tag. First is to set the domino:session tag’s duration attribute to either ‘request’ or ‘session’. I would suggest starting at ‘request’ until you can prove that’s the bottle neck, because there are costs to ‘session’ you don’t want to pay if you don’t have to.

The second thing you need is a file called RemoteSession.properties, and in it the statement, without the quotation marks, “maxPersistentSessions=1” - or use a bigger number that works for you.

Talk to you later,

-sl