|
 |
aspx thread: Session State - Server Functions Include?
Message #1 by marl@s... on Sat, 26 Oct 2002 17:55:30
|
|
Hi:
In ASP I always wrote a page that was just generic server functions for
all (or most) of my pages:
'
ie (OpenDBase() or ParseList(sList), etc.
I'm trying to do that in ASP.NET but I'm having trouble finding out what
kind of file to use.
I tried just a normal class which is what I wanted but found that it
absolutely refuses to acknowledge the Session object. I added all the
using statements for Web, Web.SessionState, etc.
No help.
How can I accomplish this?
Message #2 by "Joel Hartshorn" <joelha@d...> on Sat, 26 Oct 2002 17:10:06 -0600
|
|
Ok,
Why not just make C# components and put them in the Bin folder?
-----Original Message-----
From: marl@s... [mailto:marl@s...]
Sent: Saturday, October 26, 2002 5:56 PM
To: ASP.NET
Subject: [aspx] Session State - Server Functions Include?
Hi:
In ASP I always wrote a page that was just generic server functions for
all (or most) of my pages:
'
ie (OpenDBase() or ParseList(sList), etc.
I'm trying to do that in ASP.NET but I'm having trouble finding out what
kind of file to use.
I tried just a normal class which is what I wanted but found that it
absolutely refuses to acknowledge the Session object. I added all the
using statements for Web, Web.SessionState, etc.
No help.
How can I accomplish this?
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 10/15/2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 10/15/2002
|
|
 |