in reply to Re: redirect and cookie problems
in thread redirect and cookie problems

The domain needs to be the fully qualified or at least the last n-1 parts of the domain name. ".storm.prohosting" is going to fail since there's no TLD associated with it. Presumable, if your server is named "storm.prohosting.com", you want either exactly that or "prohosting.com".

Cookies are generally saved by the domain name, not by the "name" that you give it, else you run into huge namespace problems. So you want to look for something that has the domain in it, rather than "username".

Also, I don't know what you are trying to do with the value line. You probably want -value=>$query->param('name'), if you want to set the value of the cookie to whatever the name was passed as in your code.


Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain