affiliate_link
Showing posts with label ASP. Show all posts
Showing posts with label ASP. Show all posts

Friday, December 30, 2011

HTML Printing & Page Breaks

<html>
<head>
<style>
@page { size 8.5in 11in; margin: 2cm }
div.page { page-break-after: always }
</style>
</head>
<body>
<div class="page">Page 1 Here</div>
<div class="page">Page 2 Here</div>
</body>
</html>

Tuesday, October 25, 2011

Classic ASP Built-in Objects

ASP 2.0 provided six built-in objects: Application, ASPError, Request, Response, Server, and Session. Session, for example, represents a cookie-based session that maintains the state of variables from page to page. The Active Scripting engine's support of the Component Object Model (COM) enables ASP Websites to access functionality in compiled libraries such as DLLs.

Reference: http://en.wikipedia.org/wiki/Active_Server_Pages