[Mono-list] WebService, SessionState and CookieContainer.
beniniva@csr.unibo.it
beniniva@csr.unibo.it
Fri, 16 Jul 2004 10:48:32 +0200
This message is in MIME format.
---MOQ1089967712180d4ba4148baa4ebecb8d053c22e594
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Sorry,
Web services code is: Service1.asmx.cs
client application code is:WebForm1.aspx.cs
Valentina.
>Scrive Jonathan Stowe <jns@gellyfish.com>:
> On Fri, 2004-07-16 at 09:14, beniniva@csr.unibo.it wrote:
> <snip>
> > The Web services code is: Contatore.asmx.cs
> > The client application code is: CounterCLI.aspx.cs
> >
> > Could anybody help me please?
>
> Your attachments appear to be formatted formatted as RTF please could
> you send them again.
>
> /J\
>
>
---MOQ1089967712180d4ba4148baa4ebecb8d053c22e594
Content-Type: text/plain; name="WebForm1.aspx.cs"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="WebForm1.aspx.cs"
dXNpbmcgU3lzdGVtOw0KdXNpbmcgU3lzdGVtLkNvbGxlY3Rpb25zOw0KdXNpbmcgU3lzdGVtLkNv
bXBvbmVudE1vZGVsOw0KdXNpbmcgU3lzdGVtLkRhdGE7DQp1c2luZyBTeXN0ZW0uRHJhd2luZzsN
CnVzaW5nIFN5c3RlbS5XZWI7DQp1c2luZyBTeXN0ZW0uV2ViLlNlc3Npb25TdGF0ZTsNCnVzaW5n
IFN5c3RlbS5XZWIuVUk7DQp1c2luZyBTeXN0ZW0uV2ViLlVJLldlYkNvbnRyb2xzOw0KdXNpbmcg
U3lzdGVtLldlYi5VSS5IdG1sQ29udHJvbHM7DQp1c2luZyBTeXN0ZW0uTmV0Ow0KDQpuYW1lc3Bh
Y2UgQ291bnRlckNMSQ0Kew0KCS8vLyA8c3VtbWFyeT4NCgkvLy8gU3VtbWFyeSBkZXNjcmlwdGlv
biBmb3IgV2ViRm9ybTEuDQoJLy8vIDwvc3VtbWFyeT4NCglwdWJsaWMgY2xhc3MgV2ViRm9ybTEg
OiBTeXN0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