Hello everybody,

> How are you trying to remove all of the attributes from
> the session, and
> could you not just call session.invalidate() ?

I have a class that performs database-related functions.
The object of this class is saved in the session object.
Now when a user logouts, I want to close the connection
object present in the database class. If I called
session.invalidate(), will the connection get closed? I
thought it would not be possible, so I iterate through the
session object and remove them one by one. When I come to
the database object, I close the connection first and then
remove it. 

If this approach is not suggested, can anybody suggest any
other way?

Thanks,

Arun Jayaprakash.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to