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 / November 2004

Tip: Looking for answers? Try searching our database.

application_start in webservices

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mekim - 27 Oct 2004 16:49 GMT
Hello...since application_start is not being called when u invoke a
webservice for the first time...where r u suppose to or how r u suppose to
persist "application_start" global variables?

My "work" around is to launch a webform1 that starts application_start...but
that seems silly :-)

Regards,
mekim
Dan Rogers - 24 Nov 2004 00:43 GMT
Hi,

In general, the advice is to make your web services stateless - that is not
use any server side state to store session information.  The easiest way to
manage state across the web service bounday is to activate cookies (proxy
must accept cookies) and use cookies to persist state across the call.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
>Thread-Topic: application_start in webservices
>thread-index: AcS8PIA/+zI5+mhDRIKfmmpTSOMX1w==
[quoted text clipped - 17 lines]
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:26278
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 7 lines]
>Regards,
>mekim

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.