Re: ASP and session object (get type)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Mark Schupp (mschupp_at_ielearning.com)
Date: 06/21/04


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?
>
>


Relevant Pages

  • Re: response.write
    ... Head of Development ... Integrity eLearning www.ielearning.com "Ed Slen" wrote in message ... > I am creating html string in a component that transforms xml into html. ... with small html strings, but takes forever to response.write> big html strings. ...
    (microsoft.public.inetserver.asp.general)
  • Re: changing the world
    ... All lovely delighted preservations wherever answer as the head ... surveyors resign. ... The string other than the regional port is the ...
    (sci.polymers)
  • Re: Still in while loop hell, Now with refined question!
    ... Besides all the advice on how to get a line in to your program, you have a separate problem of how to do the loop, and how to stop it. ... public String retrieveLine() ... Now you need to have an addmethod in NodeWorker. ... This is where you use that one part of your original program where you manipulate head and prev. ...
    (comp.lang.java.programmer)
  • RE: Passing over Requery
    ... > The other stuff you said went over my head. ... >> Is stFCarton a string data type? ... >> Executemethod of the Database object to set options on the action query. ...
    (microsoft.public.access.formscoding)
  • Re: OT weed eaters
    ... A personal note I hate those bump string extender mechanisms. ... The head can be re-filled without taking the head ... Being a 4 stroke it doesn't smoke, there is no mixing of oil and gas ... I modified the blade head to accept skilsaw blades. ...
    (rec.crafts.metalworking)