• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Session without cookies

 
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Identify the techniques that can be used to implement 'sessions' if the client browser does not support cookies.

Options

Select 3 correct options.

a) Using Http headers.
b) Using https protocol.
c) Hidden form fields.
d) URL rewriting
e)It cannot be done without cookie support.

Ans b,c and d

I think ans should be a,b and d.
a) is correct as when we talk about session and cookie, ultimately we are setting header(set-cookie) in the response

Moreover why option c) is correct ?
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sandeep Vaid:
Identify the techniques that can be used to implement 'sessions' if the client browser does not support cookies.
...
I think ans should be a,b and d.
a) is correct as when we talk about session and cookie, ultimately we are setting header(set-cookie) in the response


So... did you read the question?
 
Sandeep Vaid
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Marc,
You mean to say if client doesn't accept cookie, then it will ignore the Set-Cookie header.
So in this case session tracking is not possible using headers..

My Mistake.... Thanks for the answer...
 
The world's cheapest jedi mind trick: "Aw c'mon, why not read this tiny ad?"
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic