Hi Edward,
   
Set the maxSessionTime which automatically destroy the session object.

This is the link which gives you more information
http://docs.sun.com/source/816-6774-10/prog_sso.html

 
Bajja Santhosh Gopalakrishna
 
i-flex solutions ltd., i-flex center
Millennium Tower - Gopalan Enterprises
133, Kundalahalli, Brooke Fields
Bangalore - 560 037
Tel. office : +91-80-2208-6000 / 91-80-5759-6000 Ext.6508
Direct:91-80-57596948
Cell : 91-9845910993
e-mail : [EMAIL PROTECTED]
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED] On Behalf Of Edward King
Sent: Wednesday, July 14, 2004 3:44 PM
To: [EMAIL PROTECTED]
Subject: Session question

Hello every,
  I puzzled a question,I open a Database and read so many records from
it and put them into Vector, then I put this Vector into Session.This
will cost a lot of memory of Computer.I guess Session should keep in
Server Part and not in Client Part.Right? If Session keep in Server
Part,when user close IE,if this Session is out of date right now? If
not,there is a method which can make Session is out of date and this
Session is release by Server Part immediately? Any idea will be
appreciated!

Best Regards,
Edward



========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to