View Count: 0
Duration: 24 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 24 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 36 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 14 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 19 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 7 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 20 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 15 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Sorry!For this module there is no Sample Code.
Question No: 1 of 39
Cookies are stored on 
Options:
  1. Client Machine
  2. Server Machine
  3. Both client and server
  4. Never stored
View Answer/Explanation:
a
Explanation:

Question No: 2 of 39
Cookies are used for sharing state 
Options:
  1. Between requests of different users
  2. Between requests by same user
  3. Between different browser types
  4. Between different web site
View Answer/Explanation:
b
Explanation:
Cookies are used for sharing data across requests by same user/client and the data is stored on client/browser machine.

Question No: 3 of 39
What is the name of Server Variable having all the cookie values? 
Options:
  1. HTTP_COOKIE
  2. COOKIE
  3. SERVER_COOKIE
  4. HTTP_SERVER_COOKIE
View Answer/Explanation:
a
Explanation:
The cookie Name-Value pairs are submitted in the form of request header called “Cookie” and they are saved on the server in the form of CGI environmental variable (Server Variable) called as HTTP_COOKIE. HTTP_COOKIE: c1=v1&c2=v2&c3=v3.

Question No: 4 of 39
What is the data type of value of a cookie object? 
Options:
  1. Object
  2. String []
  3. String
  4. Object []
View Answer/Explanation:
c
Explanation:
Name and Value both are of type string

Question No: 5 of 39
In addition to Name and Value pair, every response cookie has which of the following attributes 
Options:
  1. Domain
  2. Application
  3. Path
  4. Web
View Answer/Explanation:
a c
Explanation:
Every response cookie has Name, Value, Domain, Path, and Expires and secure attributes. These attributes are used by browser for deciding whether to include The cookie in the request or not (based on the URL of the request

Question No: 6 of 39
Domain attribute of a Cookie can be changed from current domain to any other domain 
Options:
  1. True
  2. False
View Answer/Explanation:
b
Explanation:
Domain can be changed to another domain. If Domain="deccansoft.com", then cookie is included for all subdomains of it eg. www.deccansoft.com, training.deccansoft.com etc..

Question No: 7 of 39
Cookies whose expires is not set 
Options:
  1. are persistently stored on client
  2. Are persistently stored on server
  3. Are temporarily stored on client
  4. Are temporarily stored on server
View Answer/Explanation:
c
Explanation:
Cookies whose expires is not set are stored in browser memory and are destroyed once the browser instance is closed

Question No: 8 of 39
Cookies generated on server (added to the response) are rendered to the browser in a response header called ___________ 
Options:
  1. set-cookie
  2. Cookie
  3. server-cookie
  4. client-cookie
View Answer/Explanation:
a
Explanation:

Question No: 9 of 39
Which attribute of the cookie should be used for submitting the cookie from client to server only if Https is used? 
Options:
  1. Https=true
  2. Http=false
  3. Secure=true
  4. Insecure=false
View Answer/Explanation:
c
Explanation:

Question No: 10 of 39
In cookie value of any data type can be stored 
Options:
  1. True
  2. False
View Answer/Explanation:
b
Explanation:

  1