Has anyone got a tip for reading an environment variable on a client desktop into a cookie.

Triyng to make a seamless integration on an intranet site.