🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.aspdotnet.general
Article #8

Re: how to keep object session?

#8
From: Marc Rohloff TeamB
Date: Mon, 19 Jul 2004 11:32
19 lines
1269 bytes
On Mon, 19 Jul 2004 13:22:27 +0800, century wrote:

> I use com object in aspx page,
> but how to keep this object session, then I can invoke it in second page.
> (Page Language="C#")

You mean:
Page1:
 session["comobj"] = yourComObject;
 
Page2:
  ComObject yourComObject = (ComObject)Session["comobj"] 
 
?


-- 
Marc Rohloff [TeamB]
marc rohloff at myrealbox dot com
Technical Details
Message-ID: <1opwugyw8fhj4$.dlg@marcrohloff.40tude.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40fb5a94@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 124d48,3fc5c89ce071515f
X-Google-Attributes: gid124d48,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: how to keep object session?
Newsgroups: borland.public.csharpbuilder.aspdotnet.general
User-Agent: 40tude_Dialog/2.0.12.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <40fb5a94@newsgroups.borland.com>
Date: Mon, 19 Jul 2004 07:32:30 -0400
Message-ID: <1opwugyw8fhj4$.dlg@marcrohloff.40tude.net>
NNTP-Posting-Host: 4.131.32.69
X-Trace: newsgroups.borland.com 1090236641 4.131.32.69 (19 Jul 2004 04:30:41 -0700)
Lines: 19
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail