I have a top-level domain which is forwarded to another providers' webspace (subdomain) which has cgi enabled. There, I have a Perl script which builds an html page and submits form data (to itself) and also passes certain other cookie info along. It all works just fine if the url is set up to forward with the redirected url defined as the "full" url (other websites name + subdomain etc). However, as it is just one web page I would rather the top-level domain was displayed, plus, I am a bit worried by the fact that someone might try to obtain my script if they can see where it really lives (I have spent a fair bit of work on it and it is being used
commercially hopefully to make some money)
The problem is, when I change the url redirect to be as a masked redirect (in a frame) it all redirects correctly and starts up (showing the masked domain in the address bar, BUT now no cookies are ever passed so the next entry to my script/page fails as no expected coolie data is passed in.
I am assuming that the problem somehow lies in that the top-level domain is not actually "real" in a sense and so exists only in an abstract fashion and maybe is not being passed in, or something. Perhaps the http cookie mechanism is not set up to handle that
I have tried various things but nothing changes and no cookies are retrieved
Do you know of any way that I can force the cookies to be sent so that my Perl script can get the the cookie data without me having to have the whole subdomain/acct name displayed?
Appreciate any ideas on this, I know Perl reasonably well but am perhaps a bit weak on http mechanisms!
Thanks
Start Free Trial