Hi,
I am facing one
issue while accessing session object in Web Services from Browser Enabled
forms.
Following is the
sample code to test session data in web services.
[WebMethod(EnableSession = true)]
public void Setval(String
groupID)
{
Session["groupID"] = groupID;
}
[WebMethod(EnableSession = true)]
public Int64 Getval()
{
return Convert.ToInt64(Session["groupID"]);
}
Now when I try to
access these web methods through any browser, it works fine.
When I try to access
this with infopath Client, it works fine.
When I try to access
it through same Infopath form in browser it does not work.
Do you have any idea
about such behavior? Is it because of the Infopath Form Services?
Am I missing
something?
Thanks,
Sourav