Not sure about iplanet, but you might be able to solve part of it by adding
another server (although this is certainly not the solution to why this is
happening). That would at least load-balance 1/2 the requests. This is
probably not a simple task however and will cost some money.

On the other hand, try using the onUnload="myFunction()" in the <body> tag
of a frame page. That is, wrap your site up into two or three frames. Frame
0 would be of no size..a "hidden" frame so to speak. All javascript,
mouse-over images, etc would go in this frame and stay in existence
throughout the stay at the site. Frame 1 could be a menu bar, and frame 2
the content frame. Now, in Frame 0, since that frame will NEVER disappear
unless the user leaves the site OR does something funky with the site, the
onUnload handler of the <body> tag should provide a mechanism where by you
can call javascript that then submits a request (via a form, perhaps) to the
server. This does one thing..trigger the "cleanup" routines on your server.
I haven't personally done this, but I plan on incorporating it to try to
reduce resources when people go to another site or close the browser without
any "logout" button being clicked. Also, you could try using applets, which
would give you much more ability, but also require a bit longer to start up
the browser JVM, download, etc.



> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of piyush jain
> Sent: Wednesday, April 25, 2001 2:16 AM
> To: [EMAIL PROTECTED]
> Subject: Iplanet maximum no of session 1000
>
>
> Dear Friends,
>
> I have a problem here in managing ilanet web server. As the no of
> users on the site is high and when its peak time the server
> throws an error as shown below.
> *****************************************
>
> [21/Apr/2001:18:10:46] info ( 1087): SimpleSessionManager:
> Default values for maximum number of sessions is 1000 with a time
> out value of 1800 seconds
> [21/Apr/2001:18:10:46] info ( 1087): SimpleSessionManager:
> Maximum number of sessions (1000) with a time out value of (1800) seconds
>
>
> *****************************************
>
> Can anyone tell me the remedy to overcome it when the site is on.
>
> also i wanted to know how do i kill a session on the server side
> if the browser is directly closed and proper log-off is not done.
> this also seems to cause the above problem.
>
> Expecting a prompt response.
>
> Best Regards,
> piyush.
>
>
>
> _____________________________________________________
> Chat with your friends as soon as they come online. Get Rediff Bol at
> http://bol.rediff.com
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to