Javascript HTML C# Cookie Print Popup Blocking Form Cookies setTime getElementById GetCookieVal array cookieEnabled kbdevent HttpCookie Print Dialog Redirection Cookies Object PHP Redirection Visitor Print Setting Roman Numerals SetCookie unescape 302 Found Redirection new Linking Drop down Keyboard Event Key event Javascript Cookie HTTP Redirection GetCookie Dropdown Drop down DeleteCookie attachEvent Algorithm addEventListener

REDIRECTION.ZIP

What is 302 Found Redirection in HTTP 1.1?   (created at Apr 04, 2024)   119  

In PHP, you can implement a 302 Found redirection using the header() function to send the appropriate HTTP headers. Here's an example of how you can use it:In this example:The $newLocation variable stores the URL to which you want to redirect.The header() ...

Cookie Redirect   (created at Aug 29, 2007)   51  

When a page has performed it's purpose,a cookie can be set to redirect the browser to a different page on subsequent visits. Easily implemented. (Because it will redirect after one visit,the example is not shown on this site.)cookieRedirect.js/* This scrip...

Save And Restore Form Cookies in Javascript   (created at Aug 29, 2007)   39  

This script will save all of your form fields in a cookie. It includes all text fields,radio button selections,checkbox values,etc. When your visitor returns,all form fields are automatically repopulated with the same value that they entered on their last ...

How to record visitor's name by Cookie   (created at Aug 28, 2007)   73  

This cookie records the visitor's name. It can then be used for identification or other purposes,as needed.userName.jsfunction getCookieVal (offset) {  var endstr = document.cookie.indexOf (";",offset);  if (endstr == -1)  endstr = document....

Javascript & Cookie based Visitor Application   (created at Aug 28, 2007)   101  

This cookies records how many times the visitor has visited the page and writes to the page accordingly.visits.jsfunction GetCookie (name) {  var arg = name   "=";  var alen = arg.length;  var clen = document.cookie.length;  var i ...

Cross Browser Event Management Functions Using JavaScript   (created at Aug 28, 2007)   73  

What I have provided is a cross browser approach to attach and manage events. IE uses Object.attachEvent to attach an event to an object,whereas Fx uses Object.addEventListener to do the above function. Similarly the functions used for removing an attached...

How To Read And Write A Cookie   (created at Aug 26, 2007)   41  

A post on aspngbeta about readingwriting a cookie in C#//To setHttpCookie cookie;String UserID = "foo";cookie = new HttpCookie("UserID");cookie.Values.Add("UserID",UserID);Response.Cookies.Add(cookie);//To readHttpCookie cookie;cookie = Request.Cookies["Us...

Using C# With Cookies   (created at Aug 26, 2007)   79  

A code snippet posted on aspcs about accessing and writing cookies using C#./* Read shopper id from client cookie */public static bool GetCurrentShopperId(ref string id,System.Web.HttpRequest request){try{HttpCookie cookie = request.Cookies["iparts_pa"];if...

Printing A Page   (created at Aug 26, 2007)   66  

how to print the current page

Example Of Creating Objects   (created at Aug 26, 2007)   76  

an example of creating object in javascript,taken from http://www.wdvl.com/Authoring/JavaScript/Tutorial/objects.htmldirect instance of an objectDespite the awkward sound name, a "direct instance of an object" simply means creating a new single object, suc...

Linking Drop Downs   (created at Aug 26, 2007)   100  

Linking drop downs is a frequent question. Here is a javascript based example