Request.Cookies.Add Vs Response.Cookies.Add
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I was just reading some article and there was an example regarding Cookies in ASP.Net. The example was using Request.Cookies.Add and I was like, Request is used to get something from client side, so this code is written incorrectly. But when I tried the code, it was a surprise for me to know that both exist and both does the same job. So I'm just wondering if someone out there knows the secret about this having Response and Request Add method for Cookies! Adios
Please don't forget to mark 'Good Answer', if you find it really a good one! Kashif