I have a fully function webpage based on a Zipcode. I get the Zip code from the user once and write it the cookie and retrieve that everytime.
I also have another webpage which also asks for the zip code.
I have to synchronize these two. What i have done for this i accept the zip code also as querystrig parameter.
So from 1 website when i enter the zip code, in the javascript i have image tag and i calll the otherwebsite and load it internally.
The Problem with this it writes only the cookie and doesn't load the webpage.
When i open the other wbsite i soem times see the cookie written and soem times i doesn't work.
So i'm not sure where the problem is.
Is there a better way of synchronizing the Zipcode values in both the websites.
I also have another webpage which also asks for the zip code.
I have to synchronize these two. What i have done for this i accept the zip code also as querystrig parameter.
So from 1 website when i enter the zip code, in the javascript i have image tag and i calll the otherwebsite and load it internally.
Code:
if(document.images) { image1 = new Image(); image1.src ="http://mywebsite.com/default.aspx?zip=" + zipcode; }
When i open the other wbsite i soem times see the cookie written and soem times i doesn't work.
So i'm not sure where the problem is.
Is there a better way of synchronizing the Zipcode values in both the websites.
Comment