Advertisement

01.18.2007 at 01:40PM PST, ID: 22128076 | Points: 500
[x]
Attachment Details

Cookies not passed when top-level domain is used by forwarding

Asked by senrdev in Perl Programming Language

Tags: , ,

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
[+][-]01.18.2007 at 03:02PM PST, ID: 18345774

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.18.2007 at 06:43PM PST, ID: 18346639

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.19.2007 at 01:05AM PST, ID: 18347759

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.21.2007 at 11:29AM PST, ID: 18360637

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.28.2007 at 10:11PM PDT, ID: 19587093

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 14-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43