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();
}
6
  • 4
    Any reason you wouldn't just store the information in a common data store on the server (such as a database)? Commented Jan 29, 2012 at 15:06
  • Because i want to access data rapidly Commented Jan 29, 2012 at 15:45
  • 3
    Why would a database not be rapid? Commented Jan 29, 2012 at 15:50
  • Because my website can have 1000's of visitor at same time and if i start to send data to db n then retrieve it from there it will be :S:S :S Commented Jan 29, 2012 at 16:48
  • I don't quite follow what your code sample is trying to show. Can you explain what you've already got? Commented Jan 29, 2012 at 21:01

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.