Records 1 to 15 of 15
|
» ADO
» Array » Components » Cookies » Date/Time » Files » Form » Graphics » HTML Formatting » Language » Math » Misc. » Multimedia » Performance » Printing and reports » Security » Sessions » SQL » Strings » XML |
Sessions ASP Scripts
ASP Script Home » Sessions
15 ASP Sessions Scripts
Sort: Most Viewed | Highest Rated | Newest
Check if the user is still connectedThis 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: (3.00) votes 51
Set a date/time when a page cachedThis 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: (3.04) votes 52
Set how many minutes a page will be cachedThis 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: (2.96) votes 51
Home made hit counterThis 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: (3.00) votes 51
GetHeaders FunctionGetHeaders 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: (3.08) votes 37
Simple Login SecurityUse 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: (2.97) votes 37
Complete working Basic AuthenticationThis 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: (3.00) votes 51
VBScript Cookie/CounterNot 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: (3.02) votes 52
Reading and writing cookiesYou 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: (3.04) votes 51
Delete all cookiesUse the cookie collection to delete all the cookies in the users browser....Added on: 11/13/2002 Hits: 5496 Rating: (3.04) votes 56
Check local/internet IP Addressdetermine 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: (2.60) votes 50
List of Server VariablesEach server variable in a function...Added on: 10/23/2002 Hits: 6444 Rating: (2.80) votes 56
Server VariablesThis will list all server variables in a page....Added on: 10/1/2002 Hits: 5430 Rating: (2.96) votes 46
Records 1 to 15 of 15
|