I have a desktop application , which verifies the finger and prompt the result
i am calling that app in wpf, than this all is showing in asp.net
on asp.net user put the finger, results comes to him How its Done?
on asp.net i created a static class & a web-service having a two static members which gets 'query' & connection string,
these both member set by asp.net i.e
button1_click(){
string querry="select * from employee where userid='123'";
string connString="Data Source=mypc;Initial Catalog=abc;Persist Security Info=True;User ID=re;Password=12345
";
StaticClass.Querry=querry;
StaticClass.ConnStr=connString;
}
value setting in webserivce
[WebMethod]
public string Querry()
{
string SelectDataQuerry = StaticClass.Querry;
return SelectDataQuerry ;
}
desktop application subscribed the web-service which gets and give data.all is well ,NOW then i hosted the application on IIS,
multiple users are using the application now, on the same time, user1 set the query while user2 gets it.
i want to make it multi user, so whats the suggestion, should i create static strings dynamically as much as users create requests which uniquness or any thing else?