C
cmrchs
Hi,
how can I initialize data kept in the Session-object only the first time a WS is invoked and not everytime the WS is invoked.
I tried :
Sub New()
if IsPostBack = false then
Session("counter") = 0
end if
End Sub
--> but IsPostBack is not available in a WebService (it is in WebPages)
Thnx
Chris
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
how can I initialize data kept in the Session-object only the first time a WS is invoked and not everytime the WS is invoked.
I tried :
Sub New()
if IsPostBack = false then
Session("counter") = 0
end if
End Sub
--> but IsPostBack is not available in a WebService (it is in WebPages)
Thnx
Chris
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...