1

I want to pass data from WebApplication 1 to WebApplication 2.

WebApplication 1 contains data which I get and want to show that on webapplication 2.

My scenario is that I'm tracking visitors from my WebApplication 1 and showing their information on WebApplication 2.

Can anyone tell me the logic of my web service. What I have so far is:

[WebMethod]
public string VisitorInfo() 
{
Values v = new Values();
return v.SendValue();
}
NotMe
  • 87,343
  • 27
  • 171
  • 245
user1174458
  • 43
  • 1
  • 8

1 Answers1

1

You need a common area to store the data so multiple web applications can access it. Apart from the suggested comment above in regards to a database, you could look at some thing called http://memcached.org/. There are also shared sessions, there is a link for this one here: Passing session data between ASP.NET Applications. You could if you wanted try to also store them in cookies and share them between you web applications, this way is not advised by some and I have not tried it, but can be done.

Community
  • 1
  • 1
Pasha Immortals
  • 829
  • 1
  • 7
  • 19