home / software / tips and tricks / How to access Cookie written in JavaScript on server(code behind)?

How to access Cookie written in JavaScript on server(code behind)?

Updated:  01/09/2013 09:01 AM
Author:  Shiju Mathews

Status:    Resolved.


Since cookies are stored in user end (visitor's computer) all cookies are available in both server side (using server script) and client side (using JavaScript).

Create a browser cookie using JavaScript.




Each time the same computer requests a page with a browser, it will send the cookie too. This cookies can be accessed in server side using the server script. In this example I am using c# in IIS server.
Tags: How to access Cookie written in JavaScript on server(code behind)?
Updated on: November 2024