in Education by
Which option is true about session scope? (a) Objects are accessible only from the page in which they are created (b) Objects are accessible only from the pages which are in same session (c) Objects are accessible only from the pages which are processing the same request (d) Objects are accessible only from the pages which reside in same application This question was addressed to me during an interview. This interesting question is from JSP in chapter Session Management, JSP & API of Java Select the correct answer from above options JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Right answer is (b) Objects are accessible only from the pages which are in same session Best explanation: Object data is available till session is alive.

Related questions

0 votes
    Which of the following is not true about session? (a) All users connect to the same session (b) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which object serves as the global object at the top of the scope chain? (a) Hash (b) Property (c ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
0 votes
    The scope of a function is also called as ________ (a) Predefined function (b) Module function (c) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    How can you set a Cookie visibility scope to localStorage? (a) / (b) % (c) * (d) // I ... questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    What type of scope is present in JavaScript? (a) Lexical (b) Literal (c) Both Lexical and Literal ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    Which of the below is true about java class structure? (a) The class name should start with lowercase ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of the following is not true about Java beans? (a) Implements java.io.Serializable interface (b) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of the following is true about servlets? (a) Servlets execute within the address space of web server ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    What is true about time slicing? (a) Time slicing is OS service that allocates CPU time to available ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    What is true about threading? (a) run() method calls start() method and runs the code (b) run() ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of the following method is used inside session only? (a) merge() (b) update() (c) end() ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of the following is used for session migration? (a) Persisting the session in database (b) URL ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
...