If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Cookie ,First party? Third Party?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-07-03, 17:39
Patrick Chua Patrick Chua is offline
Registered User
 
Join Date: Jul 2003
Location: Penang, Malaysia
Posts: 212
Cookie ,First party? Third Party?

Will clickin on a hyperlink to my webpage let the IE.6 identify my cookies as a third party?

e.g.
Code:
<a target="_blank" href="mysitewithsessioncookiegenerated.asp">Link</a>
The session cookie will only be generated once the page is open.

Since it will be on a new window....I'm guessing it is going to be identified as a first party cookie .....

Another question is, does this apply to all web sites or do some web sites able to configure how to "react" when a person clicks a hyperlink URL.

e.g. hot mail email hyperlinks "react" differently then normal e-mail accounts.....is there any truth in it??

Your views will mostly appreciated!
__________________
Patrick Chua
LBMS ( Learn By My Self) NPQ ( No paper Qualification )
Reply With Quote
  #2 (permalink)  
Old 09-08-03, 03:25
Patrick Chua Patrick Chua is offline
Registered User
 
Join Date: Jul 2003
Location: Penang, Malaysia
Posts: 212
anybody??
__________________
Patrick Chua
LBMS ( Learn By My Self) NPQ ( No paper Qualification )
Reply With Quote
  #3 (permalink)  
Old 09-08-03, 11:59
fused fused is offline
Registered User
 
Join Date: May 2003
Posts: 23
mind explaining it in a clearer manner?
Reply With Quote
  #4 (permalink)  
Old 09-08-03, 14:40
Patrick Chua Patrick Chua is offline
Registered User
 
Join Date: Jul 2003
Location: Penang, Malaysia
Posts: 212
In a clearer manner..hmm...well....

I'm doing this website where there is a member area , which I use session cookies to track them.


Now when they register, they have to go to their e-mail and click on the hyperlink to a new window to my website.

In this page, once I check their registration password, I'll create the session cookie for them.

I heard of I.E 6 privacy features where it blocks third party cookies depending on your privacy setting. And I don't plan to create those whatever compact privacy statements ...because I heard that session cookies are allowed if your using it as a first party cookie.

Don't get what I mean? Then read up on:

http://msdn.microsoft.com/library/de...acyfeature.asp



Now I fear this would effect my logic.
So refering to my first post, can anyone give me any comments?
Does anyone know what I'm talking about?
__________________
Patrick Chua
LBMS ( Learn By My Self) NPQ ( No paper Qualification )
Reply With Quote
  #5 (permalink)  
Old 09-12-03, 21:08
bill_dev bill_dev is offline
Registered User
 
Join Date: Sep 2003
Posts: 60
Patrick, thanks for posting this since I learned lots reading the article.

The way I read it is you are classified as first or third party depending on how the whole page is invoked. The link that users click to get to your page must need to be in the same domain as the page that actually comes up and sets the cookie. If they match then you are a first party.

If the page that the link takes them to has an I fFRAME on it with content from some other domain in it, then the cookies that IFRAME tries to create would be third party and subject to cookie filtering (with possible negative side effects).

That's just my opinion after reading it just now. In a corporate environment where all your content is from one domain I don't see a problem. A link is like the user typing the address into the browser. If you render content from mulitple domains on the same page you may have issues.

My 2¢...
Reply With Quote
  #6 (permalink)  
Old 09-15-03, 08:28
Patrick Chua Patrick Chua is offline
Registered User
 
Join Date: Jul 2003
Location: Penang, Malaysia
Posts: 212
oohh...thanks for the reply. I'm still re-reading your post to get what u mean...

I'm abit slow u see. So in my case, the links are in people's e-mail.
which can be in any domain...e.g. hotmail , yahoomail, company mail e.t.c

So if what I think u'r saying, u'r guess is that the cookie I create will be a third party?


Btw, anyone knows how can we know if the cookie we created is recognise as first or third in a browser?? this will certainly help solve the guessing game.
__________________
Patrick Chua
LBMS ( Learn By My Self) NPQ ( No paper Qualification )

Last edited by Patrick Chua; 09-15-03 at 08:30.
Reply With Quote
  #7 (permalink)  
Old 09-15-03, 12:44
bill_dev bill_dev is offline
Registered User
 
Join Date: Sep 2003
Posts: 60
U'r thinking too hard. Its more simple than that. Lets say you have an email with this link in it:
if the showReport page sets the cookie its first party since it's domain (myDomain.com) matches the domain shown in the link. However if the showReport page had an iFrame and that iframe shows a web page from otherdOMAIN.COM then any cookie that iframe sets would be third party.

Hope that helps.
Reply With Quote
  #8 (permalink)  
Old 09-15-03, 13:17
Patrick Chua Patrick Chua is offline
Registered User
 
Join Date: Jul 2003
Location: Penang, Malaysia
Posts: 212
ok then.....I got it..haha....sorry bout that!
I'll test it out, if I don't reply, means u rite and there aren't any problems or anything we miss out!

Thanks.
__________________
Patrick Chua
LBMS ( Learn By My Self) NPQ ( No paper Qualification )
Reply With Quote
  #9 (permalink)  
Old 09-24-03, 07:19
rhs98 rhs98 is offline
Super Moderator
 
Join Date: Feb 2002
Location: Hampshire, UK
Posts: 441
Re: Cookie ,First party? Third Party?

Yes it will be treated as a first party cookie if it is in a new window I belive.

Hotmail email links are different than normal - this is done by the way the person programmed the page - instead of the links being like "mailto:jim@jim.com" they are "compose_new_message.asp?to=jim@jim.com" (or similar).

This means that the mail is sent by hotmail rather than poping up your mail program.

Helped?


Quote:
Originally posted by Patrick Chua
Will clickin on a hyperlink to my webpage let the IE.6 identify my cookies as a third party?

e.g.
Code:
<a target="_blank" href="mysitewithsessioncookiegenerated.asp">Link</a>
The session cookie will only be generated once the page is open.

Since it will be on a new window....I'm guessing it is going to be identified as a first party cookie .....

Another question is, does this apply to all web sites or do some web sites able to configure how to "react" when a person clicks a hyperlink URL.

e.g. hot mail email hyperlinks "react" differently then normal e-mail accounts.....is there any truth in it??

Your views will mostly appreciated!
Reply With Quote
  #10 (permalink)  
Old 09-24-03, 08:07
Patrick Chua Patrick Chua is offline
Registered User
 
Join Date: Jul 2003
Location: Penang, Malaysia
Posts: 212
Yup , now that I got u'r assurance, and from the way no one is complaning about the way I did it, then I guess it's save for now.
__________________
Patrick Chua
LBMS ( Learn By My Self) NPQ ( No paper Qualification )
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On