Which one of the following allows the session to continue? 

This question was previously asked in
UGC NET Computer Science (Paper 2) 11 March 2023 Official Paper
View all UGC NET Papers >
  1. When a user quits a browser
  2. When the user logs out and is invalidated by the servlet
  3. When the session is timed out due to inactivity
  4. When the user refreshes the browser and there is a persistent cookie

Answer (Detailed Solution Below)

Option 4 : When the user refreshes the browser and there is a persistent cookie
Free
UGC NET Paper 1: Held on 21st August 2024 Shift 1
13 K Users
50 Questions 100 Marks 60 Mins

Detailed Solution

Download Solution PDF

The correct answer is When the user refreshes the browser and there is a persistent cookie

Key Points 

  • Persistent cookies are stored on the user's device and can persist across browser sessions.
  • When the user refreshes the browser, the persistent cookie allows the server to recognize and associate the user with an existing session, thus allowing the session to continue.
  • Persistent cookies are not affected by actions like quitting the browser or logging out, and they can help maintain session state even if there is some inactivity that would otherwise lead to a timeout.

Additional Information 

  • Closing a browser often ends the session, especially if it relies on session cookies.
  • When a user is logged out and invalidated by a servlet, the session also ends, as the 'logout' action generally terminates the session.
  • A session timeout due to inactivity would definitely lead to the end of the active session.
Latest UGC NET Updates

Last updated on Jun 19, 2025

-> The UGC NET City Slip 2025 has been released on its official website today.

-> The UGC NET June 2025 exam will be conducted from 25th to 29th June 2025.

-> The UGC-NET exam takes place for 85 subjects, to determine the eligibility for 'Junior Research Fellowship’ and ‘Assistant Professor’ posts, as well as for PhD. admissions.

-> The exam is conducted bi-annually - in June and December cycles.

-> The exam comprises two papers - Paper I and Paper II. Paper I consists of 50 questions and Paper II consists of 100 questions. 

-> The candidates who are preparing for the exam can check the UGC NET Previous Year Papers and UGC NET Test Series to boost their preparations.

Get Free Access Now
Hot Links: teen patti online game teen patti sequence teen patti star login happy teen patti