473,890 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

double cookies - same name - .Net bug?

I'm using the following code in my .Net application (.Net v1.1, Windows
2000) to write Session Cookies.
HttpContext.Cur rent.Response.C ookies("cookieS ession")("Sessi onID") =
strSessionID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Site_ ID") =
strSite_ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Langu ageCode_ID")
= strLanguageCode _ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("ShipZ ip") =
strShipZip

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnLo adDynSide")
= blnLoadDynSide

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnPr odView") =
blnProdView

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnHa sCart") =
blnHasCart

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Catal ogCode_ID")
= strCatalogCode_ ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Segme ntTypeCode_ID")
= strSegmentTypeC ode_ID

HttpContext.Cur rent.Response.C ookies("cookieS ession").Expire s =
DateTime.Now.Ad dDays(10)

Arbitrarily, in Internet Explorer, the cookie is written twice. This
causes major issues w/ my Ecommerce application.

Here's what the IIS log files look like. Notice the cookie with the
same name in there twice.

2005-07-18 16:36:07 172.191.129.192 - 192.168.71.201 443 GET
/Product/Product-CheckoutSummary .aspx - 200 66080 1026 360 HTTP/1.1
www.mydomain.com Mozilla/4.0+(compatible ;+MSIE+6.0;+Win dows+NT+5.1)
WEBTRENDS_ID=20 7.200.116.5-1678957136.2972 2584;+cookieSes sion=SessionID= b8bbf19a-8165-4510-98c2-d03ad9399720&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=&blnLoadD ynSide=1&blnPro dView=1&blnHasC art=0&CatalogCo de_ID=0&Segment TypeCode_ID=0;+ CP=null*;+WEBTR ENDS_ID=207.200 .116.6-1977234432.2972 2583;+cookieSes sion=SessionID= b8bbf19a-8165-4510-98c2-d03ad9399720&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=91364&bln LoadDynSide=1&b lnProdView=1&bl nHasCart=0&Cata logCode_ID=0&Se gmentTypeCode_I D=0;+CP=null*;+ ASP.NET_Session Id=v4qore3eak3z rzjcirgqpkut
https://www.mydomain.com/Product/Pro...utBilling.aspx
Anyone seen this before and fixed it. Newsgroups an KBs are not
helping me so far.

Nov 19 '05 #1
6 3674
On your logs looks like there are 2 different IPs:
207.200.116.5
207.200.116.6

Could be one request going to the first IP the second going to the second IP
that's why 2 cookies are being sent with 2 diferent domain?

Just an idea, give me the set up of your IIS. THanks
AL

"DJones" wrote:
I'm using the following code in my .Net application (.Net v1.1, Windows
2000) to write Session Cookies.
HttpContext.Cur rent.Response.C ookies("cookieS ession")("Sessi onID") =
strSessionID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Site_ ID") =
strSite_ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Langu ageCode_ID")
= strLanguageCode _ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("ShipZ ip") =
strShipZip

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnLo adDynSide")
= blnLoadDynSide

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnPr odView") =
blnProdView

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnHa sCart") =
blnHasCart

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Catal ogCode_ID")
= strCatalogCode_ ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Segme ntTypeCode_ID")
= strSegmentTypeC ode_ID

HttpContext.Cur rent.Response.C ookies("cookieS ession").Expire s =
DateTime.Now.Ad dDays(10)

Arbitrarily, in Internet Explorer, the cookie is written twice. This
causes major issues w/ my Ecommerce application.

Here's what the IIS log files look like. Notice the cookie with the
same name in there twice.

2005-07-18 16:36:07 172.191.129.192 - 192.168.71.201 443 GET
/Product/Product-CheckoutSummary .aspx - 200 66080 1026 360 HTTP/1.1
www.mydomain.com Mozilla/4.0+(compatible ;+MSIE+6.0;+Win dows+NT+5.1)
WEBTRENDS_ID=20 7.200.116.5-1678957136.2972 2584;+cookieSes sion=SessionID= b8bbf19a-8165-4510-98c2-d03ad9399720&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=&blnLoadD ynSide=1&blnPro dView=1&blnHasC art=0&CatalogCo de_ID=0&Segment TypeCode_ID=0;+ CP=null*;+WEBTR ENDS_ID=207.200 .116.6-1977234432.2972 2583;+cookieSes sion=SessionID= b8bbf19a-8165-4510-98c2-d03ad9399720&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=91364&bln LoadDynSide=1&b lnProdView=1&bl nHasCart=0&Cata logCode_ID=0&Se gmentTypeCode_I D=0;+CP=null*;+ ASP.NET_Session Id=v4qore3eak3z rzjcirgqpkut
https://www.mydomain.com/Product/Pro...utBilling.aspx
Anyone seen this before and fixed it. Newsgroups an KBs are not
helping me so far.

Nov 19 '05 #2
Domain name is pointed to 216.52.152.116. ISP has a redirect to
192.168.71.201.

The visitor to this site was an AOL person (The
207.200.116.5,2 07.200.116.6, and the logged IP of 172.191.129.192 are
all pointed to AOL.
), and AOL has multiple proxies. So, my webserver receives requests
from multiple sources. Hmmm... Shouldn't be this way.

Cookies are supposed to be domain name specific, I thought and
shouldn't write a cookie for each IP it comes in on.

I went back to this person's initial visit and they doubled up right
away, so now I'm even more perplexed. Here's their initial IIS record
from 5 days earlier (notice that it's doubled up too).

2005-07-13 18:26:30 207.200.116.65 - 192.168.71.201 80 GET
/Default.aspx - 200 29308 871 16 HTTP/1.1 www.littletikes.com
Mozilla/4.0+(compatible ;+MSIE+6.0;+AOL +9.0;+Windows+N T+5.1)
WEBTRENDS_ID=20 7.200.116.6-1977234432.2972 2583;+ASP.NET_S essionId=u3ny4c erd5blwoaqvambt a45;+cookieSess ion=SessionID=9 6b1863b-0a56-443f-b080-3d9479c2f252&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=&blnLoadD ynSide=1&blnPro dView=1&blnHasC art=0&CatalogCo de_ID=0&Segment TypeCode_ID=0;+ CP=null*;+WEBTR ENDS_ID=207.200 .116.5-1678957136.2972 2584;+ASP.NET_S essionId=wq01u4 asvijqdt55to3bq kvy;+cookieSess ion=SessionID=b 8bbf19a-8165-4510-98c2-d03ad9399720&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=&blnLoadD ynSide=0&blnPro dView=0&blnHasC art=0&CatalogCo de_ID=0&Segment TypeCode_ID=0
-

I am going to disable my Webtrends ISAPI cookie. This may be one of
the root causes as well. Thanks for the help.

Albert Pascual wrote:
On your logs looks like there are 2 different IPs:
207.200.116.5
207.200.116.6

Could be one request going to the first IP the second going to the second IP
that's why 2 cookies are being sent with 2 diferent domain?

Just an idea, give me the set up of your IIS. THanks
AL

"DJones" wrote:
I'm using the following code in my .Net application (.Net v1.1, Windows
2000) to write Session Cookies.
HttpContext.Cur rent.Response.C ookies("cookieS ession")("Sessi onID") =
strSessionID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Site_ ID") =
strSite_ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Langu ageCode_ID")
= strLanguageCode _ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("ShipZ ip") =
strShipZip

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnLo adDynSide")
= blnLoadDynSide

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnPr odView") =
blnProdView

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnHa sCart") =
blnHasCart

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Catal ogCode_ID")
= strCatalogCode_ ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Segme ntTypeCode_ID")
= strSegmentTypeC ode_ID

HttpContext.Cur rent.Response.C ookies("cookieS ession").Expire s =
DateTime.Now.Ad dDays(10)

Arbitrarily, in Internet Explorer, the cookie is written twice. This
causes major issues w/ my Ecommerce application.

Here's what the IIS log files look like. Notice the cookie with the
same name in there twice.

2005-07-18 16:36:07 172.191.129.192 - 192.168.71.201 443 GET
/Product/Product-CheckoutSummary .aspx - 200 66080 1026 360 HTTP/1.1
www.mydomain.com Mozilla/4.0+(compatible ;+MSIE+6.0;+Win dows+NT+5.1)
WEBTRENDS_ID=20 7.200.116.5-1678957136.2972 2584;+cookieSes sion=SessionID= b8bbf19a-8165-4510-98c2-d03ad9399720&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=&blnLoadD ynSide=1&blnPro dView=1&blnHasC art=0&CatalogCo de_ID=0&Segment TypeCode_ID=0;+ CP=null*;+WEBTR ENDS_ID=207.200 .116.6-1977234432.2972 2583;+cookieSes sion=SessionID= b8bbf19a-8165-4510-98c2-d03ad9399720&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=91364&bln LoadDynSide=1&b lnProdView=1&bl nHasCart=0&Cata logCode_ID=0&Se gmentTypeCode_I D=0;+CP=null*;+ ASP.NET_Session Id=v4qore3eak3z rzjcirgqpkut
https://www.mydomain.com/Product/Pro...utBilling.aspx
Anyone seen this before and fixed it. Newsgroups an KBs are not
helping me so far.


Nov 19 '05 #3
This is so weird, cookies should get attached to @domain.com not the IP.
However in your log shows 2 different IPs, Need to check my logs to get an
idea. I'll check back with you soon.

AL
"DJones" wrote:
Domain name is pointed to 216.52.152.116. ISP has a redirect to
192.168.71.201.

The visitor to this site was an AOL person (The
207.200.116.5,2 07.200.116.6, and the logged IP of 172.191.129.192 are
all pointed to AOL.
), and AOL has multiple proxies. So, my webserver receives requests
from multiple sources. Hmmm... Shouldn't be this way.

Cookies are supposed to be domain name specific, I thought and
shouldn't write a cookie for each IP it comes in on.

I went back to this person's initial visit and they doubled up right
away, so now I'm even more perplexed. Here's their initial IIS record
from 5 days earlier (notice that it's doubled up too).

2005-07-13 18:26:30 207.200.116.65 - 192.168.71.201 80 GET
/Default.aspx - 200 29308 871 16 HTTP/1.1 www.littletikes.com
Mozilla/4.0+(compatible ;+MSIE+6.0;+AOL +9.0;+Windows+N T+5.1)
WEBTRENDS_ID=20 7.200.116.6-1977234432.2972 2583;+ASP.NET_S essionId=u3ny4c erd5blwoaqvambt a45;+cookieSess ion=SessionID=9 6b1863b-0a56-443f-b080-3d9479c2f252&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=&blnLoadD ynSide=1&blnPro dView=1&blnHasC art=0&CatalogCo de_ID=0&Segment TypeCode_ID=0;+ CP=null*;+WEBTR ENDS_ID=207.200 .116.5-1678957136.2972 2584;+ASP.NET_S essionId=wq01u4 asvijqdt55to3bq kvy;+cookieSess ion=SessionID=b 8bbf19a-8165-4510-98c2-d03ad9399720&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=&blnLoadD ynSide=0&blnPro dView=0&blnHasC art=0&CatalogCo de_ID=0&Segment TypeCode_ID=0
-

I am going to disable my Webtrends ISAPI cookie. This may be one of
the root causes as well. Thanks for the help.

Albert Pascual wrote:
On your logs looks like there are 2 different IPs:
207.200.116.5
207.200.116.6

Could be one request going to the first IP the second going to the second IP
that's why 2 cookies are being sent with 2 diferent domain?

Just an idea, give me the set up of your IIS. THanks
AL

"DJones" wrote:
I'm using the following code in my .Net application (.Net v1.1, Windows
2000) to write Session Cookies.
HttpContext.Cur rent.Response.C ookies("cookieS ession")("Sessi onID") =
strSessionID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Site_ ID") =
strSite_ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Langu ageCode_ID")
= strLanguageCode _ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("ShipZ ip") =
strShipZip

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnLo adDynSide")
= blnLoadDynSide

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnPr odView") =
blnProdView

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnHa sCart") =
blnHasCart

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Catal ogCode_ID")
= strCatalogCode_ ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Segme ntTypeCode_ID")
= strSegmentTypeC ode_ID

HttpContext.Cur rent.Response.C ookies("cookieS ession").Expire s =
DateTime.Now.Ad dDays(10)

Arbitrarily, in Internet Explorer, the cookie is written twice. This
causes major issues w/ my Ecommerce application.

Here's what the IIS log files look like. Notice the cookie with the
same name in there twice.

2005-07-18 16:36:07 172.191.129.192 - 192.168.71.201 443 GET
/Product/Product-CheckoutSummary .aspx - 200 66080 1026 360 HTTP/1.1
www.mydomain.com Mozilla/4.0+(compatible ;+MSIE+6.0;+Win dows+NT+5.1)
WEBTRENDS_ID=20 7.200.116.5-1678957136.2972 2584;+cookieSes sion=SessionID= b8bbf19a-8165-4510-98c2-d03ad9399720&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=&blnLoadD ynSide=1&blnPro dView=1&blnHasC art=0&CatalogCo de_ID=0&Segment TypeCode_ID=0;+ CP=null*;+WEBTR ENDS_ID=207.200 .116.6-1977234432.2972 2583;+cookieSes sion=SessionID= b8bbf19a-8165-4510-98c2-d03ad9399720&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=91364&bln LoadDynSide=1&b lnProdView=1&bl nHasCart=0&Cata logCode_ID=0&Se gmentTypeCode_I D=0;+CP=null*;+ ASP.NET_Session Id=v4qore3eak3z rzjcirgqpkut
https://www.mydomain.com/Product/Pro...utBilling.aspx
Anyone seen this before and fixed it. Newsgroups an KBs are not
helping me so far.


Nov 19 '05 #4
Update...... I just found another example of a Non-AOL person. Here
are the log records for when it happens.

Log #1 - Person does a search on the site - cookie fine
=============== =============== =
2005-07-18 23:46:33 68.19.214.81 - 192.168.71.201 80 POST
/toys/Toys-List.aspx Page=1&ProductC ategory_ID=45&D escripti
on=RIDE-ONS 200 60324 942 125 HTTP/1.1 www.littletikes.com
Mozilla/4.0+(compatible ;+MSIE+6.0;+Win dows+NT+5.
1;+SV1;+.NET+CL R+1.1.4322)
WEBTRENDS_ID=68 .19.214.81-3694346336.2972 3634;+ASP.NET_S essionId=1oxthp 45xbawo
mvyttdmiy45;+co okieSession=Ses sionID=3ba50d6c-bc0d-467e-909e-00ebd3d3f87d&Si te_ID=1&Languag eCode_ID=360
&ShipZip=&blnLo adDynSide=0&bln ProdView=0&blnH asCart=0&Catalo gCode_ID=0&Segm entTypeCode_ID= 0;+CP=null*
http://www.littletikes.com/
Log #2 - Person clicks product in the search - application writes
"1" to blnLoadDynSide in cookie array. As it will eventually turn out,
this writes a new cookie and leaves the old one intact.
=============== =============== =
2005-07-18 23:46:54 68.19.214.81 - 192.168.71.201 80 GET
/toys/Toys-Detail.aspx Product_ID=2323 &D
escription=All-in+One%e2%84%a2 +Wagon&ProductC ategory=RIDE-ONS 200 42511
886 94 HTTP/1.1 www.littletikes.com
Mozilla/4.0+(compatible ;+MSIE+6.0;+Win dows+NT+5.1;+SV 1;+.NET+CLR+1.1 .4322)
WEBTRENDS_ID=68 .19.2
14.81-3694346336.2972 3634;+ASP.NET_S essionId=1oxthp 45xbawomvyttdmi y45;+cookieSess ion=SessionID=
3ba50d6c-bc0d-467e-909e-00ebd3d3f87d&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=&blnLoadD ynSide=0&bl
nProdView=0&bln HasCart=0&Catal ogCode_ID=0&Seg mentTypeCode_ID =0;+CP=null*
http://www.littletikes
..com/toys/Toys-List.aspx?Page= 1&ProductCatego ry_ID=45&Descri ption=RIDE-ONS

Log #3 - Cookie doubles up after user hits back button and selects
Page 2 from original search
=============== =============== =
2005-07-18 23:47:29 68.19.214.81 - 192.168.71.201 80 GET
/toys/Toys-List.aspx ProductAgeRange s_ID=
&ProductCategor y_ID=45&Descrip tion=RIDE-ONS&SortOrder=& Page=2 200 58673
1070 109 HTTP/1.1
www.littletikes.com
Mozilla/4.0+(compatible ;+MSIE+6.0;+Win dows+NT+5.1;+SV 1;+.NET+CLR+1.1 .4322)

WEBTRENDS_ID=68 .19.214.81-3694346336.2972 3634;+ASP.NET_S essionId=1oxthp 45xbawomvyttdmi y45;
+cookieSession= SessionID=3ba50 d6c-bc0d-467e-909e-00ebd3d3f87d&Si te_ID=1&Languag eCode_ID=360
&ShipZip=&blnLo adDynSide=0&bln ProdView=0&blnH asCart=0&Catalo gCode_ID=0&Segm entTypeCode_ID= 0;
+CP=null*;+cook ieSession=Sessi onID=3ba50d6c-bc0d-467e-909e-00ebd3d3f87d&Si te_ID=1&Languag eCode_ID=360
&ShipZip=&blnLo adDynSide=1&bln ProdView=0&blnH asCart=0&Catalo gCode_ID=0&Segm entTypeCode_ID= 0

http://www.littletikes.com/toys/Toys...ption=RIDE-ONS
Man, I have a love/hate relationship w/ Microsoft and .Net. Who knows,
maybe it's IE doing the doubling up.

Nov 19 '05 #5
Another update.......Co mcast person using 1 incoming IP
=============== =============== =============
2005-07-19 00:54:18 67.164.128.122 - 192.168.71.201 80 GET
/toys/Toys-Detail.aspx
Product_ID=2466 &Description =8-in-1+Adjustable+Pl ayground++&Prod uctCategory=%3c b%3e19+-+24+MONTHS+%3c% 2fb%3e%26nbsp%3 b
200 37610 1038 203 HTTP/1.1 www.littletikes.com
Mozilla/4.0+(compatible ;+MSIE+6.0;+Win dows+NT+5.1;+SV 1;+.NET+CLR+1.1 .4322)
ASP.NET_Session Id=bccdnj3blq44 1u2lkz3vkbj0;+c ookieSession=Se ssionID=fd17547 d-dcb7-49ee-bd6f-70d8f4f9bea5&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=&blnLoadD ynSide=0&blnPro dView=0&blnHasC art=0&CatalogCo de_ID=0&Segment TypeCode_ID=0;+ CP=null*;+cooki eSession=Sessio nID=fd17547d-dcb7-49ee-bd6f-70d8f4f9bea5&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=&blnLoadD ynSide=1&blnPro dView=0&blnHasC art=0&CatalogCo de_ID=0&Segment TypeCode_ID=0
http://www.littletikes.com/toys/Toys...19+-+24+Months
Same scenario as above, writing the blnLoadDynSide in cookie array to
"1". Causes double up. Here's the code again:

HttpContext.Cur rent.Response.C *ookies("cookie Session")("blnL o*adDynSide")

= blnLoadDynSide
HttpContext.Cur rent.Response.C *ookies("cookie Session").Expir e*s =
DateTime.Now.Ad dDays(10)

Nov 19 '05 #6

"DJones" <da********@gma il.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
I'm using the following code in my .Net application (.Net v1.1, Windows
2000) to write Session Cookies.
HttpContext.Cur rent.Response.C ookies("cookieS ession")("Sessi onID") =
strSessionID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Site_ ID") =
strSite_ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Langu ageCode_ID")
= strLanguageCode _ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("ShipZ ip") =
strShipZip

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnLo adDynSide")
= blnLoadDynSide

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnPr odView") =
blnProdView

HttpContext.Cur rent.Response.C ookies("cookieS ession")("blnHa sCart") =
blnHasCart

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Catal ogCode_ID")
= strCatalogCode_ ID

HttpContext.Cur rent.Response.C ookies("cookieS ession")("Segme ntTypeCode_ID") = strSegmentTypeC ode_ID

HttpContext.Cur rent.Response.C ookies("cookieS ession").Expire s =
DateTime.Now.Ad dDays(10)

Arbitrarily, in Internet Explorer, the cookie is written twice. This
causes major issues w/ my Ecommerce application.

Here's what the IIS log files look like. Notice the cookie with the
same name in there twice.

2005-07-18 16:36:07 172.191.129.192 - 192.168.71.201 443 GET
/Product/Product-CheckoutSummary .aspx - 200 66080 1026 360 HTTP/1.1
www.mydomain.com Mozilla/4.0+(compatible ;+MSIE+6.0;+Win dows+NT+5.1)
WEBTRENDS_ID=20 7.200.116.5-1678957136.2972 2584;+cookieSes sion=SessionID= b8bb
f19a-8165-4510-98c2-d03ad9399720&Si te_ID=1&Languag eCode_ID=360&Sh ipZip=&blnL
oadDynSide=1&bl nProdView=1&bln HasCart=0&Catal ogCode_ID=0&Seg mentTypeCode_ID =
0;+CP=null*;+WE BTRENDS_ID=207. 200.116.6-1977234432.2972 2583;+cookieSes sion=S
essionID=b8bbf1 9a-8165-4510-98c2-d03ad9399720&Si te_ID=1&Languag eCode_ID=360&
ShipZip=91364&b lnLoadDynSide=1 &blnProdView=1& blnHasCart=0&Ca talogCode_ID=0& S
egmentTypeCode_ ID=0;+CP=null*; +ASP.NET_Sessio nId=v4qore3eak3 zrzjcirgqpkut https://www.mydomain.com/Product/Pro...utBilling.aspx
Anyone seen this before and fixed it. Newsgroups an KBs are not
helping me so far.


I had a similar but somewhat different problem. I solved it by explicately
settting the .domain property of the cookie to mysite.com .
Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
3571
by: Brian Burgess | last post by:
Hi all, Anyone know if this is possible? If so, on which page would the cookie be? .. On the page calling a function defined in the include file? thanks in advance.. -BB
7
3000
by: Brian Burgess | last post by:
Hi all, Anyone see anything wrong with the following: *************************************************************** <%@ LANGUAGE="VBSCRIPT" %> <% Option Explicit Dim nAcctNbr Dim nMsgStart
6
3064
by: Mark | last post by:
Hi... I've come across some weird bug with Response.Cookies. Or maybe it will be called "by design" but for the life of me I can't figure out what purpose it would serve. If you're setting a cookie (say Response.Cookies ("TEST")) and you have a query string variable &test=x or &Test=x and you get Request.QueryString to parse the query string, the cookie that gets dropped matches the case of the query string, not what your code says. ...
0
1005
by: Denver Developer | last post by:
I have a cookie that is set by a previous ASP page that I wish to update with the following logic. MyCookieColl = Request.Cookies; for (loop1 = 0; loop1 < MyCookieColl.Count ; loop1++) { MyCookie = MyCookieColl; if (MyCookie.Name == "AspenUser") { MyCookie = ddTZ.SelectedValue; MyCookie = ddTZ.SelectedItem.Text;
3
4120
by: Alex Nitulescu | last post by:
Sorry, I'm really confused - I'm only at the middle of my book and already I can count 4 methods to store values. Yes, I know that cookies can not store much, but what is the difference between storing data in the cache object, in a viewstate and in a Session. I can say Cache("MyData")=objDataSet as well as
1
11460
by: Alex Nitulescu | last post by:
I have the following very simple colde (while learning about cookies and session state): Private Sub cmdAddCookie_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdAddCookie.Click Dim strCookieName As String Dim objRandom As New Random() strCookieName = "MyCookie" & objRandom.Next(Integer.MaxValue).ToString
6
1596
by: Pete Davis | last post by:
I've never done anything with cookies. What I'm trying to do is very straight-forward, but for some reason, it just doesn't seem to want to work. I have a helper class with some static methods. Two are for setting and getting the name of the user to/from a cookie: public static string GetSiteUser(HttpRequest request) { HttpCookie userCookie = request.Cookies; if (null == userCookie || null == userCookie.Value) {
5
1555
by: Kevin Blount | last post by:
I've setup a method (C#) that I can call, passing it a cookie name, then a name-value pair. The idea is that as I can't append to a cookie, I read the cookie value, append by name=pair to the end and write it back... which works fine for adding a single name-value pair on a page. The problem is, I want/need to add multiple name-values pairs, the number of which changing between pages (some might have 3, another 8). In my test scripts...
5
5570
by: jheines | last post by:
I am trying to explain how cookies and sessions work in a class I teach, but I have hit a wall when it comes to the interaction between cookies and the state of the privacy settings in Internet Explorer. I would appreciate any help anyone can offer, please. First, consider the following very simple JavaScript function: function CookiesEnabled() { SetCookie( "testcookie", "testcookie" ) ; var bCookiesEnabled = ( GetCookie(...
0
9812
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10795
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9612
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8001
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7154
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6032
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4653
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4255
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3261
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.