I was wondering if this is possible.
I have two web apps. the first app creates a cookie then creates a popup window and calls app2. Now what i want is APP2 to write its own cookie. But it keeps appending to the APP1 cookie. Is there a way to stop this? below is the cookie code: (both of these are located in the Page_Load evt.
'app 1 cookie code
dim cookie as new system.web.httpCookie("cookie1", "my test"
response.cookies.add(cookie)
response.write(Request.Cookies("cookie1"
)
'create popUp window and write a new cookie
me.hyperLink1.Attributes.Add("OnClick", "javascript:window.open(' 'test','width=700,height=600')"
app2 cookie code
dim cookie as new system.web.httpcookie("cookie2", "hello"
response.cookies.add(cookie)
response.write(Request.cookie("cookie2"
)
thanks![[pc3] [pc3] [pc3]](/data/assets/smilies/pc3.gif)
--------------

I have two web apps. the first app creates a cookie then creates a popup window and calls app2. Now what i want is APP2 to write its own cookie. But it keeps appending to the APP1 cookie. Is there a way to stop this? below is the cookie code: (both of these are located in the Page_Load evt.
'app 1 cookie code
dim cookie as new system.web.httpCookie("cookie1", "my test"

response.cookies.add(cookie)
response.write(Request.Cookies("cookie1"

'create popUp window and write a new cookie
me.hyperLink1.Attributes.Add("OnClick", "javascript:window.open(' 'test','width=700,height=600')"

app2 cookie code
dim cookie as new system.web.httpcookie("cookie2", "hello"

response.cookies.add(cookie)
response.write(Request.cookie("cookie2"

thanks
![[pc3] [pc3] [pc3]](/data/assets/smilies/pc3.gif)
--------------
