Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 2nd, 2007, 10:25 AM
GilbertLiddell GilbertLiddell is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 4 GilbertLiddell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m
Reputation Power: 0
Unhappy Cross Domain Tracking

Hi,

I have three sites (domain1, domain2 and domain3).
Currently, a user clicks a button on domain1 to start their journey, they are then sent to domain2. On domain2 the user clicks a button to complete their journey.

This is what I want to do, when the user clicks the button on domain1 to start their journey, a cookie is saved from domain3 and when the user clicks the button on domain2 to complete their journey the cookie on domain3 is updated.

I know cross domain cookies are an issue however i've heard of people using the image <img> to get round this problem by placing a hidden image on the pages where the button is and setting it's src in script (possibly php).

I also need to send the cookie info to a database but thats the easy bit.

Any ideas??

Reply With Quote
  #2  
Old July 2nd, 2007, 10:37 AM
jmurrayhead's Avatar
jmurrayhead jmurrayhead is online now
The Drunken Moderator
ASP Free God 17th Plane (13000 - 13499 posts)
 
Join Date: Feb 2004
Location: Reston, VA, USA
Posts: 13,067 jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)  Folding Points: 82412 Folding Title: Advanced FolderFolding Points: 82412 Folding Title: Advanced FolderFolding Points: 82412 Folding Title: Advanced FolderFolding Points: 82412 Folding Title: Advanced FolderFolding Points: 82412 Folding Title: Advanced Folder
Time spent in forums: 3 Months 6 Days 15 h 50 m 18 sec
Reputation Power: 1580
Facebook
Take a look here, good luck with this. As long as you are aware of the risks of doing so: http://www.phpbuilder.com/columns/c...gs20001128.php3
__________________
jmurrayhead

Did I help you out? Make me popular by clicking the icon!

New Members:Proper way to post a question

Powered by ASP.Net

Reply With Quote
  #3  
Old July 2nd, 2007, 10:46 AM
GilbertLiddell GilbertLiddell is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 4 GilbertLiddell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m
Reputation Power: 0
Cross Domain Tracking

Thanks for the reply, can this not be done in asp.net??

Reply With Quote
  #4  
Old July 2nd, 2007, 11:48 AM
jmurrayhead's Avatar
jmurrayhead jmurrayhead is online now
The Drunken Moderator
ASP Free God 17th Plane (13000 - 13499 posts)
 
Join Date: Feb 2004
Location: Reston, VA, USA
Posts: 13,067 jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)  Folding Points: 82412 Folding Title: Advanced FolderFolding Points: 82412 Folding Title: Advanced FolderFolding Points: 82412 Folding Title: Advanced FolderFolding Points: 82412 Folding Title: Advanced FolderFolding Points: 82412 Folding Title: Advanced Folder
Time spent in forums: 3 Months 6 Days 15 h 50 m 18 sec
Reputation Power: 1580
Facebook
Quote:
Originally Posted by GilbertLiddell
Thanks for the reply, can this not be done in asp.net??


It appeared to me above that you were looking for a PHP solution, as you stated:

Quote:
Originally Posted by GilbertLiddell
...and setting it's src in script (possibly php).


I'd imagine you could perform similar thing in ASP.Net using URL rewriting. You'd simply have to convert the PHP code to the VB.net or C# equivalent, for example. Basically, the script I provided a link for is creating global variables, creates a cookie, writes the new URL to the page, and then allows for URL rewriting on all domains. Here is an example of URL rewriting in .Net: http://www.codeproject.com/aspnet/URLRewriter.asp

I don't have time to rewrite the php code for you, but you should be able to get the basic idea on your own.

Reply With Quote
  #5  
Old July 3rd, 2007, 03:24 AM
GilbertLiddell GilbertLiddell is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 4 GilbertLiddell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m
Reputation Power: 0
Hi and sorry, i haven't provided enough information on this. I had seen a solution in php but i know nothing about it, again appologies for not being clear enough.

The two sites are domain1 asp.net web application and domain2 perl web booking application.
Currently, a user clicks a button on domain1 to start their journey, they are then sent to domain2. On domain2 the user clicks a button to complete their journey.

Thanks again for your help here

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > Cross Domain Tracking


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway