|
|
ASP » Tips and Tutorials » Cookies and Sessions » Here, There, and Back Again: Maintaining State Across Domains
A D V E R T I S E M E N T
Today's Special: Get free Magazine from SAP!
A D V E R T I S E M E N T
|
Subscribe to SourceCodesWorld - Techies Talk |
Scripts Related to - Here, There, and Back Again: Maintaining State Across Domains
| Script Name |
Session variables can store user-specific information for you. This tutorial explain how to configure your server and how they work (and when they don't).
|
There are several ways to maintain state in ASP. This article takes a look at them, and a means to determine which ones are best to employ.
|
This article will explain the problems faced with detecting cookies in ASP and address them one by one. You will then be presented with a cookie detection script written in ASP that you can use on your own site.
|
Cookies are not transferrable across domains; the only domain that can access the cookie is the domain that created it. This article describes solutions to bypass this limitation using Active Server Pages.
|
This tutorial explains how to set up and manage session and application level scripting using the global.asa file.
|
Cookies are a very useful; they can store usernames/password, preferences, last visits, etc. This short explains how to store information a user may type in at a typical website.
|
Cookies enable you to write text directly to a users computer. This can be used to easily recognize if a user has been to your site before or used to prevent multiple entries in to forms. This example will take any input you type in and write it to a cookie. A hyperlink to the same page is created to demonstrate on subsequent visits (within 3 days) the user will see their input rather then the text input box.
|
Cookies can be a good method for passing data between pages and especially for retaining data between sessions. Today, it's pretty safe to assume that anyone who is using your site can use cookies, since nearly every site that is non-static makes use of them(including all ASP sites that use sessions). It is also possible to set and read cookies using client-side code, but it is a bit more difficult. Reading and writing cookies using Active Server Pages' built in Request and Response objects is incredibly easy.
|
One of the problems on the net is that you seldom know whom your dealing with. Is it a newbie on your site, a regular guest or your boss? Wouldn't it be cool if you could display different pages to each of them? With cookies you can tag them, and know if they been on your site before etc. This turorial explains how to set and read cookies in ASP pages.
|
Cookies can be used to remember things about a user when they come back to your site. Cookies expire after a certain amount of time which you can set. Also, the clients browser must have cookies enabled for them to work. Here is a very simple example of creating a cookie and setting the cookie to expire in one year using ASP
|
|
Google
Search
Source Codes World.com is a part of Vyom Network.
Vyom Network :
Free SMS, GRE, GMAT, MBA |
Online Exams |
Freshers Jobs |
Software Downloads |
Interview Questions |
Delhi Info |
Jobs, Discussions |
Placement Papers |
Free eBooks |
Free eBooks |
Free Business Info |
Interview Questions |
Free Tutorials |
Arabic, French, German |
IAS Preparation |
Jokes, Songs, Fun |
Free Classifieds |
Free Recipes |
Free Downloads |
Bangalore Info |
Tech Solutions |
Project Outsourcing, Web Hosting |
GATE Preparation |
MBA Preparation |
SAP Info |
Software Testing |
Google Logo Maker |
Freshers Jobs
Sitemap |
Privacy Policy
Copyright ©2003-2006 Vyom Technosoft Pvt. Ltd., All Rights Reserved.
Page URL: http://www.sourcecodesworld.com/scripts/Here-There-and-Back-Again-Maintaining-2303/default.asp
Download Yahoo Messenger | Placement Papers | Free SMS | C Interview Questions | C++ Interview Questions
| |