How variables can be accessed across the sessions?

Answer Posted / anji

Store the variable in the session.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between using getSession(true) and getSession(false) methods?

562


Does servlet have main method?

678


Describe the phases of servlet lifecycle?

622


What are advantages of servlets over cgi?

618


Explain the methods of request dispatcher in servlet?

507






List out the difference between ServletConfig and ServletContext?

592


What is difference between GenericServlet and HttpServlet?

559


When servlet object is created?

591


Write a command to get actual path of a servlet to the server?

532


Describe some assignments that are executed by servlet container?

572


What are the disadvantages of storing session state in cookies?

622


What is servlet in web technology?

571


What are the advantages of Servlet over CGI?

658


Which httpsession object is used to view and manipulate information about a session?

721


Explain is servlet mapping?

571