|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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?? |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
Cross Domain Tracking
Thanks for the reply, can this not be done in asp.net??
|
|
#4
|
||||
|
||||
|
Quote:
It appeared to me above that you were looking for a PHP solution, as you stated: Quote:
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. |
|
#5
|
|||
|
|||
|
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 |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Cross Domain Tracking |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|