Results 1 to 6 of 6

Thread: Explain the Browser Capabilities and Content Linking Component of ASP

  1. #1
    Join Date
    Nov 2009
    Posts
    67

    Explain the Browser Capabilities and Content Linking Component of ASP

    I have recently started to study ASP- Active Server Pages for developing web pages and web sites. This is a required subject for my academics. I have earlier studied HTML- Hyper Text Markup Language, but studying ASP is not easy. I am finding it quite difficult to grasp. I am unable to understand the concept of ASP Components. Can anyone explain to me the ASP BrowserCapabilities component and ASP Content Linking component and also provide some valid examples for it.

  2. #2
    Join Date
    Apr 2008
    Posts
    2,005

    ASP Content Linking Components

    To create a very simple yet efficient navigation system in ASP, the ASP Content Linking component are useful. A list of Web page which are to be navigated are stored in the Nextlink object. The Nextlink object manages these links of web pages. This Nextlink object is returned by the Content Linking component. It basically creates a file that manages relative URLs of each web page. Thus, Content Linking List file is referenced by the Content Linking component

  3. #3
    Join Date
    Jan 2008
    Posts
    1,521

    The Browser Capabilities Component of ASP

    The visitor's browser information such as capabilities, version number and type are determined by a object known as BrowserType object. The information in the header is compared by the BrowserType object with the Browscap.ini file on the server. The User Agent header is propagated to the server when a browser connects to a server. The information of the browser is stored in this header. The BrowserType object is generated by the Browser Capabilities component of Active Server Pages.

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Syntac for ASP Browser Capabilities and Content Linking Component

    Browser Capabilities Component syntax:
    Code:
    <%
    Set Brwsr=Server.CreateObject("MSWC.BrowserType")
    %>
    Content Linking Component syntax:
    Code:
    <%
    Set lnk=Server.CreateObject("MSWC.NextLink")
    %>
    GetListIndex Methods of Content Linking Component in ASP:
    example:
    Code:
    <%
    dim lnk,t
    Set lnk=Server.CreateObject("MSWC.NextLink")
    t=lnk.GetListIndex("HL.txt")
    Response.Write("Count")
    Response.Write(t)
    %>
    GetNextURL Methods of Content Linking Component in ASP:
    Code:
    <%
    dim lnk,t
    Set lnk=Server.CreateObject("MSWC.NextLink")
    t=lnk.GetNextURL("HL.txt")
    Response.Write("Forward")
    Response.Write("The Link Address is: ")
    Response.Write(t)
    %>

  5. #5
    Join Date
    Oct 2005
    Posts
    2,393

    Example of Browser Capabilities in ASP

    I also had tough time studying ASP and ASP.Net. The concept of ASP Components is a bit confusing but not that hard. Here is an example Browser Capabilities in ASP:
    Code:
    <html>
    <body>
    <%
    Set Wb=Server.CreateObject("MSWC.BrowserType")
    %>
    The version of Browser is <%=Wb.version%><br>
    End User platform is <%=Wb.platform%><br>
    Support for Cookies is <%=Wb.cookies%> <br>
    The Web Browser used is <%=Wb.browser%><br>
    
    </body>
    </html>
    The above example will produce the output displaying the information about the client's Web browser and operating system.

  6. #6
    Join Date
    Feb 2008
    Posts
    1,852

    Browscap.ini file of ASP Browser Capabilities component

    The details of the web browsers are maintained in a database file. This file is referred as the Browsercap.ini file in ASP Browser Capabilities. THe details include information about the version number and also about the capabilities of the web browser. The default values of the browser are also defined by the Browsercap.ini file. Any number of browser property definitions can be declared with the Browscap.ini file.

Similar Threads

  1. Unable to see browser content
    By Jozefa in forum Technology & Internet
    Replies: 3
    Last Post: 31-07-2011, 07:54 AM
  2. Replies: 3
    Last Post: 18-09-2010, 04:52 AM
  3. What is Content Rotator Component in ASP?
    By SKREECH in forum Software Development
    Replies: 4
    Last Post: 25-02-2010, 06:26 AM
  4. What are Browser Capabilities Component in ASP?
    By PsYcHo 1 in forum Software Development
    Replies: 4
    Last Post: 25-02-2010, 06:12 AM
  5. Could not initialize the browser's security component
    By Ryan21 in forum Technology & Internet
    Replies: 3
    Last Post: 31-08-2009, 11:11 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,107,376.39485 seconds with 16 queries