• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session without cookies

 
Sandeep Vaid
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • 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 ?
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic