c# - Cookie's value is doubled without any reason -


i've got problem cookie. that's code:

namevaluecollection ncook = new namevaluecollection(); ncook = httpcontext.current.request.cookies["history"].values - in line 

what in cookie:

item_0=nonpacket-program.aspx?id=360andcourse=1044andcenter=238andfeeding=andinhabitation=

that's expect recieve line showen before. , here actualy recieve:

item_0=nonpacket-program.aspx%3fid%3d360andcourse%3d1044andcenter%3d238andfeeding%3dandinhabitation%3d&item_0=nonpacket-program.aspx%3fid%3d360andcourse%3d1044andcenter%3d238andfeeding%3dandinhabitation%3d

how can see value doubled. , that's problem.... doing wrong?

first thought assigning ncook value of existing cookie, , postback happens, , "history" cookie has 2 entries in values. "history" cookie history, each postpack, i'm betting history cookie grows, , thus, ncook grow well.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -