Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How variables can be accessed across the sessions?

Answers were Sorted based on User's Feedback



How variables can be accessed across the sessions?..

Answer / mohan

we have to set the variable in session object.like
session.setAttribute("somename",varible name);
and then we can get this variable where we want in this
session
session.getAttribute("somename");

Is This Answer Correct ?    2 Yes 0 No

How variables can be accessed across the sessions?..

Answer / anji

Store the variable in the session.

Is This Answer Correct ?    1 Yes 1 No

How variables can be accessed across the sessions?..

Answer / niranjanravi

through session context interface

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Servlets Interview Questions

What mechanisms are used by a Servlet Container to maintain session information?

0 Answers  


What is the process for chaining servlet?

0 Answers  


What are the different methods involved in the process of session management in servlets?

0 Answers  


Explain url encoding?

0 Answers  


What is difference between Forward() and sendRedirect() methode?

14 Answers   Polaris,


Why doesn’t a servlet include main()?

0 Answers  


How to maintain security in servlets?

2 Answers  


what is servlet life cycle?

3 Answers   Inforica,


How to get the IP address of client in servlet?

0 Answers  


Why do we need a constructor in a servlet if we use the init method?

0 Answers  


Which java application server is the best?

0 Answers  


What are some disadvantages of storing session state in cookies?

0 Answers  


Categories