Article View: borland.public.csharpbuilder.aspdotnet.general
Article #10Re: how to keep object session?
From: Marc Rohloff TeamB
Date: Tue, 20 Jul 2004 11:14
Date: Tue, 20 Jul 2004 11:14
19 lines
1413 bytes
1413 bytes
On Tue, 20 Jul 2004 09:11:47 +0800, century wrote:
> Page1:
> testClass el = new testClass();
> Session["comobj"] = el;
> ....
> Page2:
> testClass te = (testClass)Session["comobj"];
> String strVersion = te.login("DOTNET"," Welcome");
> Response.Write(strVersion);
> But Session["test"] is not viable .
What do you mean by not viable? What does or doesn't happen?
--
Marc Rohloff [TeamB]
marc rohloff at myrealbox dot com
Technical Details
Message-ID:
<1w2jh6oednmo9$.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-mailReferences:
<40fb5a94@newsgroups.borland.com> <1opwugyw8fhj4$.dlg@marcrohloff.40tude.net> <40fc714f$1@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> <1opwugyw8fhj4$.dlg@marcrohloff.40tude.net> <40fc714f$1@newsgroups.borland.com> Date: Tue, 20 Jul 2004 07:14:26 -0400 Message-ID: <1w2jh6oednmo9$.dlg@marcrohloff.40tude.net> NNTP-Posting-Host: 4.131.35.206 X-Trace: newsgroups.borland.com 1090321954 4.131.35.206 (20 Jul 2004 04:12:34 -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