Re: ASP and session object (get type)
From: Mark Schupp (mschupp_at_ielearning.com)
Date: 06/21/04
- Next message: Dave Anderson: "Re: Can I share Session variables across Applications?"
- Previous message: Chris Barber: "Re: ASP and session object (get type)"
- In reply to: ASP.Confused: "ASP and session object (get type)"
- Next in thread: Aaron [SQL Server MVP]: "Re: ASP and session object (get type)"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Jun 2004 13:06:06 -0700
See the VBScript TypeName() function.
-- Mark Schupp Head of Development Integrity eLearning www.ielearning.com "ASP.Confused" <anonymous@> wrote in message news:uly5%23f8VEHA.3512@TK2MSFTNGP12.phx.gbl... > I would like to be able to get the type of object that a session variable > contains (for example, determine whether it is a string, integer, single > precision floating point, ADODB.Recordset, etc...) > > I need to know this for a ASP <----> ASP.NET session management script I am > writing. I would like to be able just to copy strings and numbers. I > already have code that does this, but I don't want my script to blow up when > it finds a recordset in the session object! > > Is there any easy way to detect the object type in ASP? > >
- Next message: Dave Anderson: "Re: Can I share Session variables across Applications?"
- Previous message: Chris Barber: "Re: ASP and session object (get type)"
- In reply to: ASP.Confused: "ASP and session object (get type)"
- Next in thread: Aaron [SQL Server MVP]: "Re: ASP and session object (get type)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|