dcsimg
store.isConnected() for how long ???????
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   fresh_guy
Posted On:   Monday, May 19, 2003 01:04 AM

hi friends,



iam working on email system by using
javamail api, and my server is tomcat4.0.4.
my doubt is,
store.isConnected() is been in connection
for how long ??
because, its returning false after
30 mins. Cann't i have it for more than
4 hours or unlimited time ???



pls, a quick help is appreciated.



thanks in advance.

Re: store.isConnected() for how long ???????

Posted By:   Eugene_Kuleshov  
Posted On:   Monday, May 19, 2003 06:01 AM

It is provider specific. You can specify connection properties for Sun's IMAP provider and POP3 provider.



But keep in mind that keeping connection alive for so long time is a bad practice. Your application should be able to reconnect if connection were closed.
About | Sitemap | Contact