Contact Us
  
 
 
    SearchSearch   RegisterRegister   Log inLog in 

why session gets expire automatically in java

why session gets expire automatically in java

 
Post new topic   Reply to topic     Forum Index -> Java,Struts framework, Velocity, JSF, Hibernate, Servlet, JSP, javaBeans
View previous topic :: View next topic  
Author Message
LOBSANG



Joined: 08 Dec 2008
Posts: 2

PostPosted: Fri Jan 16, 2009 4:21 am    Post subject: why session gets expire automatically in java Reply with quote

Hi
Session gets expired automatically in java. I want to know why it happens and how to know what things behind it.
Back to top
View user's profile Send private message
seniormember
Site Admin


Joined: 20 Jul 2008
Posts: 77

PostPosted: Sun Jan 25, 2009 7:13 am    Post subject: Reply with quote

Session is a important thing between user and server. Server and client know each other by session interface (not java class meaning).
If somebody using their account user account, for paying their bill and other information to server. It should be secure. And secret between user and server.

If somebody forget to logout, server should automatically discard their session to secure their information.

session class has many methods for maximum time limit. or we can change maxtime for session.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Java,Struts framework, Velocity, JSF, Hibernate, Servlet, JSP, javaBeans All times are GMT
Page 1 of 1

 
Jump to:  
  Quick Post a Reply Topic
     
  Name (required)  
     
  Email Address (will not be published) (required)  
     
  Subject of topic (required)  
     
   
     
   
     
  Advertisement  
     
 
     


  More Links  
 
JSP Introduction
JSP Setup
Simple JSP Example
JSP Variable
Array Declaration in JSP
JSP Forms and User Input
Form Validation
JSP Cookies
JSP Session Object
Loop, content collection, iterator, conditional check in JSP
JSP Application Object
JSP Include
JSP Response Object
JSP Request Object
JSP Error Handling
JSP File Handling Object
JSP Action Tag
JSP Implicit Objects
JSP Declaration
JSP Directive
JDBC Introduction
JDBC Driver
JDBC Connection
JDBC Prepared/Statement
JDBC ResultSet
JDBC Close Connection object
JDBC Insert
JDBC Display Records
JDBC Update
JDBC Delete
JDBC Sorting
JDBC Query
JDBC Exception
JDBC Add Batch
JDBC Transaction/RollBack