Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

SCWCD - On Cookies

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have come across the following question in "Marcus Green" Mock test

"The cookie used to automatically track Servlet and JSP sessions must be called JSESSIONID"
Need to choose a Boolean Answer : TRUE OR FALSE.

It Says the answer is "FALSE"

Could any one explain me about this
 
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I havent started on JSP sessions but I am pretty sure that name of the cookie tracking session must be JSESSIONID.
So i am guessing "False" is incorrect.

There is a similiar statement in one of the question in HFSJ

"When using cookies for session tracking, the name of the session tracking cookie must be JSESSIONID"

I guess they mean the same thing.
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

In HTTP spec, its true.
 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all !!!

I have faced the same doubt and end up agreeing with Chinmaya Chowdary about why the session MUST be named jsessionid.

take a look at this post:
JSESSIONID question
 
I carry this gun in case a vending machine doesn't give me my fritos. This gun and this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic