B blob.blobLink() (Method) The data is pulled (Web hosting servers)

B blob.blobLink() (Method) The data is pulled out of the database according to the specified parameters. The BLOB can then be displayed as if it were an image in an tag. The format argument should contain an image specifier such as “GIF” or “JPEG” that can map conveniently to a file extension or MIME type. The remaining parameters to this method mainly correspond to the HTML tag attributes that can be used with an tag and are optional. This method generates the necessary tag to place into a document that refers to the BLOB data as if it were an image file on the server. When the document is parsed, the browser will request the image in the normal way; the contents of the BLOB are then returned in response to that request. The browser is not aware that the image data was retrieved from the database and by caching the image in memory when the link to it is placed in the document most of the latency associated with requesting objects out of the database is eliminated, albeit at the cost of increased memory usage in the server backend. See also: Cursor.blobImage(),blob object,MIME types blob.blobLink() (Method) This method creates an element that links to the BLOB data. Availability: JavaScript 1.1 Netscape Enterprise Server 2.0 Property/method value type: Anchor object JavaScript syntax: NES myBlob.blobLink(aMimeType, aString) aString The text inside the link Argument list: aMimeType The MIME type of the document being displayed The data is pulled out of the database according to the specified parameters. The BLOB can then be displayed as if it were a document in an tag. This method generates the necessary URL to place into a document that links to it. If the user clicks on the link, the contents of the BLOB are then returned in response to that request. See also: Cursor.blobLink(), blobobject, MIME types

Leave a Reply