What is meant by Session? Explain something about HTTP Session
Class?



What is meant by Session? Explain something about HTTP Session Class?..

Answer / gaurav khandelwal

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.
HttpSession is an interface that Provides a way to identify
a user across more than one page request or visit to a Web
site and to store information about that user.

Is This Answer Correct ?    11 Yes 2 No

Post New Answer

More Core Java Interview Questions

Which variables are stored in stack?

0 Answers  


What is multi-catch block in java?

0 Answers  


Why is it called buffering?

0 Answers  


Can an abstract class have a constructor?

1 Answers   RBS, Wipro,


What is the maximum size of byte array in java?

0 Answers  






when asub class inherits a super class and overrides a public method of super class in sub class(public method in super class). why these methods needs to be public in sub class. (otherwise compile time error).

3 Answers  


ublic class Java_Coding_Samples { public static void JavaHungr(NumberFormatException ae){ System.out.println("integer"); } public static void JavaHungry(Exception e){ System.out.println("string"); } public static void JavaHungry(ArithmeticException ae){ System.out.println("object"); } public static void main(String[] args) { JavaHungry(null); }

1 Answers  


Hi Friends, I am beginner in java. what i know about synchonized keyword is,If more that one 1 thread tries to access a particular resource we can lock the method using synchronized keyword. Then after that how the lock is released and how next thread access that.Please explain with example.

5 Answers  


How is a structure different from array ?

0 Answers   Amdocs,


What does it mean to be immutable?

0 Answers  


What is exception handling in java?

0 Answers  


Why to use nested classes in java?

0 Answers  


Categories