469,645 Members | 1,155 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

Cookies Disappearing

Hello,

I'm not a newbie to cookies, however I am stumpped by a receent issue
that has come up. I am running my web application through a frame
that belongs to another company. This application is much like an
Ariba Punhout application.

I am persisting cookies when the user first enters our application
within the frame, however when I redirect to another page, the cookies
are gone. I have tried setting the domain on the cookie and the
expiration is set at 30 days. I can only assume there is an issue
because of the frame.

Anyone have any pointers or thoughts? I am at a loss.

Jun 19 '07 #1
3 1798
this is know as a third party cookie. as it is most commonly used for ad
tracking, many browser/security add-ins block them. IE 7.0 will do this
by default if the site does not provide compact privacy policies(p3p):

article on deploying a p3p:

http://msdn2.microsoft.com/en-us/library/ms537341.aspx
-- bruce (sqlwork.com)

insomniac wrote:
Hello,

I'm not a newbie to cookies, however I am stumpped by a receent issue
that has come up. I am running my web application through a frame
that belongs to another company. This application is much like an
Ariba Punhout application.

I am persisting cookies when the user first enters our application
within the frame, however when I redirect to another page, the cookies
are gone. I have tried setting the domain on the cookie and the
expiration is set at 30 days. I can only assume there is an issue
because of the frame.

Anyone have any pointers or thoughts? I am at a loss.
Jun 19 '07 #2
You can read the whole day and then try to create your own p3p header.

But my advice is to take the p3p header from some other site (like msn.com).
They are ignored anyway. Just a presence of it matters.

What the heck. Take mine
Response.AddHeader("P3P", "CP=\"NON DSP COR CUR OUR IND INT\"")
Each page that plants third party cookies must send P3P in a header to
browser. So you will need to add that code to each page (I love inheritance)

George.

"bruce barker" <no****@nospam.comwrote in message
news:ua**************@TK2MSFTNGP04.phx.gbl...
this is know as a third party cookie. as it is most commonly used for ad
tracking, many browser/security add-ins block them. IE 7.0 will do this by
default if the site does not provide compact privacy policies(p3p):

article on deploying a p3p:

http://msdn2.microsoft.com/en-us/library/ms537341.aspx
-- bruce (sqlwork.com)

insomniac wrote:
>Hello,

I'm not a newbie to cookies, however I am stumpped by a receent issue
that has come up. I am running my web application through a frame
that belongs to another company. This application is much like an
Ariba Punhout application.

I am persisting cookies when the user first enters our application
within the frame, however when I redirect to another page, the cookies
are gone. I have tried setting the domain on the cookie and the
expiration is set at 30 days. I can only assume there is an issue
because of the frame.

Anyone have any pointers or thoughts? I am at a loss.

Jun 19 '07 #3
On Jun 19, 4:24 pm, "George Ter-Saakov" <gt-...@cardone.comwrote:
You can read the whole day and then try to create your own p3p header.

But my advice is to take the p3p header from some other site (like msn.com).
They are ignored anyway. Just a presence of it matters.

What the heck. Take mine
Response.AddHeader("P3P", "CP=\"NON DSP COR CUR OUR IND INT\"")
Each page that plants third party cookies must send P3P in a header to
browser. So you will need to add that code to each page (I love inheritance)

George.

"bruce barker" <nos...@nospam.comwrote in message

news:ua**************@TK2MSFTNGP04.phx.gbl...
this is know as a third party cookie. as it is most commonly used for ad
tracking, many browser/security add-ins block them. IE 7.0 will do this by
default if the site does not provide compact privacy policies(p3p):
article on deploying a p3p:
http://msdn2.microsoft.com/en-us/library/ms537341.aspx
-- bruce (sqlwork.com)
insomniac wrote:
Hello,
I'm not a newbie to cookies, however I am stumpped by a receent issue
that has come up. I am running my web application through a frame
that belongs to another company. This application is much like an
Ariba Punhout application.
I am persisting cookies when the user first enters our application
within the frame, however when I redirect to another page, the cookies
are gone. I have tried setting the domain on the cookie and the
expiration is set at 30 days. I can only assume there is an issue
because of the frame.
Anyone have any pointers or thoughts? I am at a loss.- Hide quoted text -

- Show quoted text -
Bruce - you are the man. I searched the newsgroups long and hard for
that answer but came up empty. I tried your response and sure enough
- it works.

Many Thanks

Jun 19 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Rachel Suddeth | last post: by
2 posts views Thread by Raterus | last post: by
reply views Thread by Mach Runner | last post: by
2 posts views Thread by rb | last post: by
reply views Thread by =?Utf-8?B?Q2hhcmxlcw==?= | last post: by
1 post views Thread by =?Utf-8?B?RGF2ZXkgUA==?= | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.