English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i want details entered in asp form of my site to get entered in asp form of another site automatically so that i need not enter the same details in that site again(cross domain).how can i do this??

2006-12-27 16:35:44 · 3 answers · asked by p r 1 in Computers & Internet Programming & Design

3 answers

you may be able to do this with a cookie, or ip tracking. Is this information secure or just trying to be helpful to the visitor?

I would suggest allowing them to login to both domains and using the session id with variables to store the information and then to fill out the forms with asp.

Javascript won't work.

2006-12-27 16:45:36 · answer #1 · answered by Bradford K 4 · 0 1

I am assuming you want it to be seamless to the user. Using JavaScript it cannot be done, because of the security model.

What you need to do is set a cookie with a unique ID - 54321 - for the user on site A, and store that information in a database, along with the details they entered into the form, that both site A and site B can access.

When the visitor goes to site B, again assign them a unique ID for *that* site, and then redirect back to site A like so: http://www.site-a.com/matchup.asp?uid=12345&referrer=site-b
(note: Yahoo may cut off part of the example URL; just hover to see the whole thing)

When that script runs, it checks for a site A cookie and sees that 54321 exists. It now knows that ID 54321 from site A and 12345 from site B are the same user - store that in the common database. Now you can redirect back to site B where the user left off. When the user goes to the form, you can check the database and see that user 12345 entered x, y and z into site A as user 54321.

In case you were curious, this is how Microsoft's Passport service works.

2006-12-28 00:46:31 · answer #2 · answered by Rex M 6 · 0 0

at the form submit button. write function to update the details of the other site with same vlues by mapping to coresspinding variables and using form submission using web address http://

?va1=vlaue&var2=value....

2006-12-28 00:44:06 · answer #3 · answered by Uma Mahesh Dubagunta 2 · 0 1

fedest.com, questions and answers