ASP Barcode Server Component for IIS Programming Source Code Examples

The ASP Barcode Server for IIS and other streaming barcode components such as the Dynamic Barcode Generator Service add barcoding capability to many types of web applications and development environments, which allows developers to create customized source code for proprietary and secure implementations.

The most common method of using streaming components is to generate a dynamic IMG tag encoding the data from parameters passed; for example:
<img src="http://www.bcgen.com/demo/linear-dbgs.aspx?Barcode=StreamingBarcode&Format=gif">

However, it is possible for the end user of the application to download the web page, modify the parameters passed and change information in the barcode. If security is a concern, it is suggested to create the image within the application itself. Below are a few code examples that may help in creating more secure web applications, which make it more difficult to change the information in the barcode.

EXAMPLE INDEX:

ASP Example

The following source code example demonstrates a simple method used to create secure dynamic barcodes within an ASP script:
<HTML><P>This web page uses ASP code to create a secure barcode.</P>
<% @ LANGUAGE = VBScript %>
<% BarcodeData = "123456789012" %>
<img src="<%="IDAutomationStreamingLinear.aspx?Barcode=" & BarcodeData %>"
</P></body></HTML>

ASP.NET Example

The following source code example demonstrates a simple method used to create secure dynamic barcodes within ASP.NET:
<THIS SECTION IS UNDER CONSTRUCTION>

PHP Example

The following source code example demonstrates a simple method used to create secure dynamic barcodes in PHP:
<THIS SECTION IS UNDER CONSTRUCTION>

JavaScript & AJAX Example

The following source code example demonstrates a simple method used to create secure dynamic barcodes in JavaScript and AJAX:
<THIS SECTION IS UNDER CONSTRUCTION>

 

© Copyright 2000-2009 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.