Hi,

I am trying to set a cookie on a development site that is only available through an IP address (xxx.xxx.xxx.xxx instead of www.whatever.com).

I know cookies take the domain (name) as a parameter, but without a name being mapped I can't get the cookie to work.

Does anyone know how to set a cookie with an IP address only? Is this even possible? Any help is greatly appreciated...

Jamie Allen
Web Solutions Engineer
SITA.int

    I dont see a reason why you must use the IP? Why just not use the hostname?

    Derek C.

      example. internal ip behind a firewall (linksys router for example)

      192.168.1.2
      192.168.1.3
      192.168.1.4

      the linksys doesnt have a name server, if they dont own a nameserver then the 192 address will not reverse resolve to anything even if they have a hostname. because the nameserve doesnt know the answer, it wont give one 🙂

      now what I would do in this case is set up a simple named server on the devel box. only thing you can do I think. add the entries for all you 192 block.

      Chris Lee
      lee@mediawaveonline.com

        Write a Reply...