Is it possible to determine the value of a cookie that a website creates? What I am trying to do is to use this value in order to place code on pages of my site that check to see if the cookie is present. I have a login page set up that interfaces with a web resource that my department uses at work. This resource sets a cookie that expires when the browser is closed. What I want to be able to do is put code on each of the pages past the login page that can check to see if the user is logged in to the resource by looking for value of the cookie the resource sets. If the cookie is not set, I want to have the user directed to the url for the login page, and if the cookie is set, then I want them to be able to view the page instead of going to login. On the login page, I need this same kind of code, but for this page, if the cookie is present, I need to direct them to the url where they can start using the resource. I am kind of new at JavaScript. I do understand some aspects of the code, but I have never gotten into cookies before, os I am not sure how to write the code.
Thanks!
Thanks!