Saturday, November 21, 2009
 
 
 Sessions ASP Scripts
 ASP Script Home » Sessions

15 ASP Sessions Scripts

Sort: Most Viewed | Highest Rated | Newest

Check if the user is still connected

This example demonstrates the IsClientConnected property. This property checks if the user is still connected to the server....
Added on: 12/15/2002  Hits: 4465 Rating: Check if the user is still connected has been rated  3.00 by  51 users (3.00) votes 51

Set a date/time when a page cached

This example demonstrates the ExpiresAbsolute property. This property sets a date/time when a page cached in a browser will expire. If the user returns to the same page before the specified date/time, the cached version is displayed. ...
Added on: 12/15/2002  Hits: 4306 Rating: Set a date/time when a page cached  has been rated  3.04 by  52 users (3.04) votes 52

Set how many minutes a page will be cached

This example demonstrates the Expires property. This property sets how long a page will be cached in a browser before it expires. If the user returns to the same page before the specified number of minutes have elapsed, the cached version is displayed. If you set minutes to 0, the page will never be...
Added on: 12/15/2002  Hits: 4628 Rating: Set how many minutes a page will be cached  has been rated  2.96 by  51 users (2.96) votes 51

Home made hit counter

This example reads a number from a file, adds 1 to the number, and writes the number back to the file. ...
Added on: 12/15/2002  Hits: 5340 Rating: Home made hit counter has been rated  3.00 by  51 users (3.00) votes 51

GetHeaders Function

GetHeaders returns all headers sent to the current web page by a given user's browser. GetHeaders returns a reference to a Scripting.Dictionary object. The Keys and Items collections will be filled with all header name, value combinations sent by the browser. ...
Added on: 11/28/2002  Hits: 7742 Rating: GetHeaders Function  has been rated  3.08 by  37 users (3.08) votes 37

Simple Login Security

Use this page to verify your login page and to set a cookie. Then for secure pages simply add a script to check for cookie. This even sets different levels of acces in the cookie. To make it more secure, encrypt the cookie. If someone doesn't have a cookie send them to the intrusion page that will l...
Added on: 11/23/2002  Hits: 5693 Rating: Simple Login Security has been rated  2.97 by  37 users (2.97) votes 37

Complete working Basic Authentication

This code shows your visitors the Basic Authentication dialog (or NT Login Dialog) It also returns the password and the username ...
Added on: 11/16/2002  Hits: 2574 Rating: Complete working Basic Authentication has been rated  3.00 by  51 users (3.00) votes 51

VBScript Cookie/Counter

Not only does this sample show you how to create a counter, but more impotantly, it shows you how to create a cookie, which in todays world is a MUST HAVE tool. Cookies are anywhere and everywhere, they can store all kinds of information too, all you have to do is add an extra line (textline/fiel...
Added on: 11/15/2002  Hits: 6718 Rating: VBScript Cookie/Counter  has been rated  3.02 by  52 users (3.02) votes 52

Reading and writing cookies

You cannot do much useful in the Internet world without writing a cookie to the users browser. This code shows you how to store a cookie and cookie value and then retrieve it using the response and request object....
Added on: 11/13/2002  Hits: 5393 Rating: Reading and writing cookies  has been rated  3.04 by  51 users (3.04) votes 51

Delete all cookies

Use the cookie collection to delete all the cookies in the users browser....
Added on: 11/13/2002  Hits: 5496 Rating: Delete all cookies  has been rated  3.04 by  56 users (3.04) votes 56

Check local/internet IP Address

determine if the remote computer visitor is local or external of your site and according to the case, for exemple redirect the user to the correct page......
Added on: 10/26/2002  Hits: 4640 Rating: Check local/internet IP Address has been rated  2.60 by  50 users (2.60) votes 50

List of Server Variables

Each server variable in a function...
Added on: 10/23/2002  Hits: 6444 Rating: List of Server Variables has been rated  2.80 by  56 users (2.80) votes 56

Restart Session

Restarts a session...
Added on: 10/20/2002  Hits: 5518 Rating: Restart Session has been rated  2.59 by  66 users (2.59) votes 66

No Cache

No cache on client browser...
Added on: 10/8/2002  Hits: 6415 Rating: No Cache has been rated  3.04 by  48 users (3.04) votes 48

Server Variables

This will list all server variables in a page....
Added on: 10/1/2002  Hits: 5430 Rating: Server Variables has been rated  2.96 by  46 users (2.96) votes 46
Records 1 to 15 of 15






HOME | ARTICLES | MUSIC | DOWNLOADS | LINK DIRECTORY |  GAMES | TEST-QUIZZES | SITEMAP | ABOUT | HELP
Copyright © 2000 - 2007 Ex-designz. All rights reserved. Website Developed By Dexter Zafra of Myasp-net.com
Link to us | Contact us | Privacy Policy | Terms of use | Accessibility