Problem in retrieving Session data with Browser forms - InfoPath Dev
in

InfoPath Dev

Problem in retrieving Session data with Browser forms

Last post 01-14-2009 06:58 AM by guptasourav. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 01-14-2009 06:58 AM

    Problem in retrieving Session data with Browser forms

    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

    Thanks
    Sourav
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.