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.
Expand|Select|Wrap|Line Numbers
- 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.