We support Microsoft® .NET Framework 2.0 & 1.1, all versions of Access, SQL 2000, SQL 7.0, SQL 2005 Express, SOAP, FrontPage 2002, 2003, Visual Studio 2005, Index Server, XML, UDDI, & Mobile device support. We also offer great third party tools like SmarterMail, Merak Mail, SmarterStats, PHP, Perl, MySql, DeepMetrix Livestats XSP 8.0.

 

We support Microsoft® .NET Framework 2.0 & 1.1, all versions of Access, SQL 2000, SQL 7.0, SQL 2005 Express, SOAP, FrontPage 2002, 2003, Visual Studio 2005, Index Server, XML, UDDI, & Mobile device support. We also offer great third party tools like SmarterMail, Merak Mail, SmarterStats, PHP, Perl, MySql, DeepMetrix Livestats XSP 8.0.

 
 

 
 

 
 
 
    AspVerify What is it and how do I use it?
Search  
 
  AspVerify Component What is it and why do I need it?

Why Do I Need to Enter This Code?
Typing the characters from a picture helps ensure that a person—not an automated program or attackers—is completing the registration form. This reduces system loads and ensures better performance of your services.
In most cases, an automated registration program can’t recognize the characters in the picture.

 Demo Registration Check:
 Type the characters that you see in this picture.




Characters are not case-sensitive.
  Putting AspVerify to work " THE DOC"
ImageTypeStr
String value indicating the image format:
  • JPG or JPEG
  • BMP
  • PNG
  • ImageType
    Numeric value indicating the image format:
  • 1 for JPG
  • 2 for BMP
  • 3 for PNG
  • Height
    Numeric value specifying the Height of the resulting image.

    Width
    Numeric value specifying the Width of the resulting image.

    BorderWidth
    Numeric value specifying the border width of the resulting imagey.

    BorderColor
    Numeric value specifying the color value of border of the resulting image.

    ShowBorder
    Enable or disable show border of the resulting image (True or False). KeyLength
    Numeric value specifying the length of key string. (Default value is 6)

    Style
    Numeric value specifying the Verify image style.

     
  • 1 for

     
  • 2 for

     
  • 3 for

     
  • 4 for

     
  • 5 for (1.2)

     
  • 6 for (1.2)

     
  • 7 for (1.2)

     
  • and 0 for random style
  • KeyStyle (1.2)
    Numeric value indicating the Key format (Default value is 0):
  • 0 for AlphaNumeric (0..9,A..Z)
  • 1 for Alpha (A..Z)
  • 2 for Numeric (0..9)
  • ShowImage : Function
    Method to generate image of Verify and return to browser.
    Result: Gets key value of the code generated. (1.2)
    Example:
    <%
    Set Obj = Server.CreateObject("nonnoi_ASPVerify.ASPVerify")
    Obj.Style = 4
    Obj.ImageTypeStr = "PNG"
    Obj.ShowBorder = False
    Session("RegisKey") = Obj.ShowImage

    set Obj = nothing
    %>



    IsVerified(InputStr)
    Method to check verify registration data.
    Parameters:
       InputStr - input string (characters that key-in).

    Result:
  • True when characters that you see = characters that you key-in
  • else False
  • RegisterName
    if you already registered this product, input your name (company name or customer name) here.
    ** you must set this value before call ShowImage.

    RegisterKey
    if you already registered this product, input your registration key here.
    ** you must set this value before call ShowImage.

    ASP : create verify image
    <%
    Set Obj = Server.CreateObject("nonnoi_ASPVerify.ASPVerify")
    Obj.Style = 4
    Obj.ImageTypeStr = "PNG"
    Obj.ShowBorder = False
    Obj.ShowImage

    set Obj = nothing
    %>



    ASP : Is Verified?
    <%
    Set Obj = Server.CreateObject("nonnoi_ASPVerify.ASPVerify")
    strVerify = request("strVerify")
    if Obj.isVerified(strVerify) then
    response.write ("OK accept!")
    Else
    response.write ("Reject - robot?!")
    End If

    set Obj = nothing
    %>


    ASP (Registered User):
    <%
    Set Obj = Server.CreateObject("nonnoi_ASPVerify.ASPVerify")
    Obj.Style = 4
    Obj.ImageTypeStr = "PNG"
    Obj.ShowBorder = False
    Obj.RegisterName = "Nonnoi"
    Obj.RegisterKey = "0123456-789"
    Obj.ShowImage

    set Obj = nothing
    %>

     
    Copyright© 2003 ActiveServers, Inc.  (509) 444-1025  159 S. Lincoln St. Spokane WA. 99201  Policy | Privacy Policy | Terms of Use