473,320 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 1941
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Larry Woods | last post by:
I have a site that works fine for days, then suddenly, I start getting ASP 0115 errors with an indication that session variables IN SEPARATE SESSIONS have disappeared! First, for background...
1
by: richard | last post by:
My website uses cookies to persist a certain amount of data on the client. However, occasionally the cookies will disappear or be set to an empty string for no discernable reason. It does not...
2
by: Rachel Suddeth | last post by:
Here is my scenario: I have a few custom controls that I set up on a form and tested setting properties and appearances. Then I added a couple references to the project which add classes I need to...
2
by: Raterus | last post by:
Howdy, I have one IIS Application, with asp/asp.net pages. I set a cookie like so in an ASP page. Response.Cookies("AuthCookie")("hash") = md5(username & Application("HashCode"))...
0
by: Mach Runner | last post by:
I am implementing a secure website using the ASP.NET FormsAuthentication model. I have taken the simplest code examples from MSDN (login.aspx,default.aspx, web.config) but cannot get proper...
2
by: | last post by:
While I was learning about baking cookies in ASP.NET, I also ran across this interesting article that outlined a few bombs to watch out for when using cookies in ASP.NET: ...
2
by: rb | last post by:
Hi, This is a very silly (and newbie) question but... I started a new site; added on default.aspx a text box and a button. On Button Click, I do this: HttpCookie cookie; cookie = new...
0
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails...
1
by: =?Utf-8?B?RGF2ZXkgUA==?= | last post by:
I have a classic ASP page which links through to an ASP.NET 1.1 page. Basically there is a hyperlink on the classic ASP page that opens the ASP.NET page in the same window. I can then go back to my...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.