what are sessions in servlets

what are sessions in servlets

what are sessions in servlets

View Answers

May 7, 2012 at 4:01 PM

A Session refers to all the request that a single client makes to a server. A session is specific to the user and for each user a new session is created to track all the request from that user. Every user has a separate session and separate session variable is associated with that session. In case of web applications the default time-out value for session variable is 20 minutes, which can be changed as per the requirement.

For more information, visit the following links:

http://roseindia.net/jsp/jspsession/

http://www.roseindia.net/servlets/client-auto-refresh-servlets.shtml









Related Tutorials/Questions & Answers:
Sessions in servlets
Sessions in servlets  What is the use of sessions in servlets?   The servlet HttpSession interface is used to simulate the concept that a person's visit to a Web site is one continuous series of interactions
sessions
sessions  how can i restore the session? if i closes the browser.. then i opened the browser i want the same page getting what i closed... Example: like in gmail if i closed inbox..when i opened gmail then inbox is coming  
Advertisements
servlets
what are sessions in servlets  what are sessions in servlets   A Session refers to all the request that a single client makes to a server...: http://roseindia.net/jsp/jspsession/ http://www.roseindia.net/servlets
servlets
servlets  what is the duties of response object in servlets
servlets
what are advantages of servlets  what are advantages of servlets   Please visit the following link: Advantages Of Servlets
servlets
what is the architecture of a servlets package  what is the architecture of a servlets package   The javax.servlet package provides interfaces and classes for writing servlets. The Servlet Interface The central
servlets
what are the different ways we can maintain state between request  what are the different ways we can maintain state between request   ... 2)Cookies 3)Hidden fields 4)Sessions
servlets
servlets  why we require wrappers in servlets? what are its uses? Please explain   These wrappers classes help you to modify request...://www.roseindia.net/servlets/response-filte.shtml
What is Java Servlets?
What is Java Servlets?       Servlets are server side components that provide a powerful mechanism for developing server side programs. Servlets provide component-based, platform-independent
servlets
servlets why do we need web-inf directory in web application  why do we need web-inf directory in web application? means what's the benefits of doing so
servlets
servlets   Hi what is pre initialized servlets, how can we achives?   When servlet container is loaded, all the servlets defined in the web.xml file does not initialized by default. But the container receives
servlets
servlets  why we are using servlets
Servlets
Servlets  How to edit and delete a row from the existing table in servlets
servlets
servlets  How do you communicate between the servlets?   We can communicate between servlets by using RequestDespatcher interface and servlet chaining
the servlets
what is diff between generic servlets and httpservlets  what is diff between generic servlets and httpservlets   Difference between GenericServlet and HTTPServlet: 1)GenericServlet belongs to javax.servlet package
servlets
what are cookies in servlets  what are cookies   Cookies... regarding the user usage and habits. Servlets sends cookies to the browser client...://www.roseindia.net/jsp/jspcookies.shtml http://www.roseindia.net/servlets/use
Servlets
Servlets  How to check,whether the user is logged in or not in servlets to disply the home page
Servlets
. Anyways, please visit the following links: http://www.roseindia.net/servlets/introductiontoconfigrationservlet.shtml http://www.roseindia.net/servlets
servlets
servlets  How to open and read the contents of a text file in servlets?   Please visit the following link: Read text file using Servlet
servlets
what are filters in java servlets  what are filters in java   Filters are powerful tools in servlet environment. Filters add certain functionality to the servlets apart from processing request and response paradigm
servlets
servlets  what are different authentication options available in servlets   There are four ways of authentication:- HTTP basic authentication HTTP digest authentication HTTPS client authentication Form-based
Servlets and
Servlets and   Sir...! I want to insert or delete records form oracle based on the value of confirm box can you please give me the idea.... thanks
servlets
which are the differ ways you can communicat between servlets  which are the differ ways you can communicat between servlets   Different ways of communicating between servlets:- 1)Using RequestDispatcher object. 2
servlets
package supports the development of servlets that use the HTTP protocol. The classes... javax.servlet.GenericServlet and serves as the base class for HTTP servlets. HttpServlet-Request
servlets
servlets  hi i am using servlets i have a problem in doing an application. in my application i have html form, in which i have to insert on date value, this date value is retrieved as a request parameter in my servlet
Servlets
Servlets  What is the filter code to authenticate the user
servlets
what are the two important api in for servlet  what are the two important api in for servlet   Two important packages are required to build servlet "javax.servlet" and javax.servlet.http
servlets
servlets  q)What will happen if you donā??t write the implementation in service () of our Servlet? Which method () it will call? q2)How many times init() execute and what happen if browser is close and server shutdown ? JSP
servlets
what is url rewriting  what is url rewriting   It is used to maintain the session. Whenever the browser sends a request then it is always interpreted as a new request because http protocol is a stateless protocol
servlets
what is the difference between getsession true and getsession fales servlets  what is the difference between getsession true and getsession fales   The getSession(true) will check whether a session already exists
servlets
what is functionality of requestdispatcher object servlets  what is functionality of requestdispatcher object   The RequestDispatcher allows the dynamic inclusion of web components either by including in the current
servlets
servlets  what is ResultSet?   ResultSet is a java object that is used for database connectivity to hold the data returned by a select query. When we run a select query it returns us the data in a table format with each
the servlets
what is the use of servlet context  what is the use of servlet context   ServletContext is a interface which helps us to communicate with the servlet container. There is only one ServletContext for the entire web
servlets
what is the difference between dopost and doget methods  what is the difference between dopost and doget methods   doGet is used when there is are requirement of sending data appended to a query string in the URL
servlets
servlets  Even though HttpServlet doesn't contain any abstract method why it is declared as abstract class? what benifits we can get by declaring like this?(i.e, with out containing the abstract methods, declaring a class
SERVLETS
SERVLETS  I follow the same procedure what you send by the links.but i got the same errors coding is: import java.io.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; public class
Sessions
sessions
sessions
sessions
sessions management
sessions management  I have a problem with the session management of my applcation deployed in tomcat. in fact, my application allows only one session to a login / password given. I then add in the database a flag for each user
servlets - Servlet Interview Questions
what is servlets in Java  what is servlets in Java
ModuleNotFoundError: No module named 'sessions'
ModuleNotFoundError: No module named 'sessions'  Hi, My Python... 'sessions' How to remove the ModuleNotFoundError: No module named 'sessions... to install padas library. You can install sessions python with following
Authentication in Servlets
Authentication in Servlets  What are different Authentication options available in Servlets
jsp sessions - JSP-Servlet
jsp sessions  Hi, i am JSP sessions example and code.  using SessenListners
sessions - JSP-Servlet
sessions  how can we maintain sessions and using that particular session can we perform diffrent bussiness logic of any particular user
advantages of Servlets
advantages of Servlets  What is advantages of Servlets ?    Portability. Powerful. Efficiency. Safety. Integration. Extensibilty. Inexpensive
ModuleNotFoundError: No module named 'dj-sessions'
ModuleNotFoundError: No module named 'dj-sessions'  Hi, My Python... 'dj-sessions' How to remove the ModuleNotFoundError: No module named 'dj-sessions' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'lmdb-sessions'
ModuleNotFoundError: No module named 'lmdb-sessions'  Hi, My... 'lmdb-sessions' How to remove the ModuleNotFoundError: No module named 'lmdb-sessions' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'sessions-telethon'
ModuleNotFoundError: No module named 'sessions-telethon'  Hi, My... named 'sessions-telethon' How to remove the ModuleNotFoundError: No module named 'sessions-telethon' error? Thanks   Hi, In your

Ads