Forum Moderators: open

Message Too Old, No Replies

tracking server side cookies in javascript

         

asyarief

11:31 pm on Jul 22, 2004 (gmt 0)

10+ Year Member



Hi,

I track my visitor by assigning cookie from the server side. Then, I also like to track those cookie using client side(javascript) if they go to different page on my site.Is there anyway I can detect the cookie that I created on the server side using javascript?

thanks,
a.g

Rambo Tribble

3:41 am on Jul 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Cookies are stored locally, so cookies from a domain are accessible to JavaScripts contained in pages from the same domain. Google "javascript cookies" to find tutorials on setting and reading cookies with JS.