Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

management state with SOAP Header

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chuche - 08 Feb 2005 18:17 GMT
Hi colleague,

I have to developer a Web service (C#) and i need to maintain state
during multiples calls to it, The Web service go to be consumed from c
application. I look for information for doing it in the www and books,
and I have seen that I can do it with  SOAP header. But i don´t find
any examples, Can somebody help me? Are there any examples in the web?

Thanks in advances
regards,

Chuche
Jason - 09 Feb 2005 01:35 GMT
If you set the WebMethod attribute "EnableSession" to true for each
method that requires session state information, you can read/write
objects to a collection called Session.

By default, cookies are used to maintain the seseion ID.  If your C
client doesn't grok cookies, you can set cookieless="true" in your
web.config's sessionState line, then you get a session ID to tack onto
the end of your URL's.

> Hi colleague,
>
[quoted text clipped - 8 lines]
>
>  Chuche

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.