please correct me ..given this option [Resolved]

Posted by Maheshverma under ASP.NET on 4/17/2016 | Points: 10 | Views : 1178 | Status : [Member] | Replies : 3
The uniqueId that gets generated at the start of the Session is stored in

1 - Client computer as a cookie
2 - Server machine
3 - Passed to and fro on each and every request and response
4 - Both a and b are correct

as i known that session object stored on server.

option no. 2 - Server machine

please conform.




Responses

Posted by: Rajnilari2015 on: 4/17/2016 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 50

Up
0
Down

Resolved
Option 4 is correct.

--
Thanks & Regards,
RNA Team

Maheshverma, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Maheshverma on: 4/18/2016 [Member] Starter | Points: 25

Up
0
Down
How can i say server side?

Maheshverma, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajnilari2015 on: 4/18/2016 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 25

Up
0
Down
Because sessions are stored in server side.However, there is a concept call cookie-Munging where the user requests for a page on a server, the server encoded the session ID and adds it with every HREF link in the page. When the user clicks on a link, ASP.NET decodes that session ID and passes it to the page that the user is requesting. Now the requesting page can retrieve session variables. This all happens automatically if ASP.NET detects that the user's browser does not support cookies. Henceforth option 4 should be right.

--
Thanks & Regards,
RNA Team

Maheshverma, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response