ASP is very powerful while managing cookies. It's so easy to create a cookie. You may use response object and cookie property to create it. Again request object used to retrieve cookie. Cookies must be written before header sent to client by server. This means you should write and send cookie befre any HTML opening tag.
This tutorial shows how to keep information from the user in your server (Session method) and how to share information between users (Application method). This is only a basic tutorial for beginners with only basic features are described
No matter how you feel about cookies, good bad or indifferent, they are an integral part of many webs. Why not unlock the mystery and write your own? Here's a quick rundown on this
You may have come across a situation where you have two ASP websites, possibly on different servers, and you wish to pass a visitor from site 1 to site 2 whilst retaining all the session variables. XSess passes the entire session from one ASP webserver to another securely. XSess consists of a function, and a few supporting functions, contained in an include file.
Sessions and cookies can be used to persist visitor information. This article shows us how to maintain session state with ASP using a combination of cookies, sessions and the global.asa file
This tutorial will help you understand:
What is a cookie?
Sending and receiving cookies.
Cookie properties and itemized values.
Some other cookie definitions.
This tutorial will help you understand:
How ASP server uses cookies to pass an ID with the browser to link multiple HTTP requests together.
How ASP server offers the session object to ASP pages to share information between multiple requests or pages.
Different ways to pass information between requests or pages.
How Perl tools can be used to help debug ASP applications at the HTTP communication level.
If the user's browser doesn't support cookie or has it turned off, will the ASP's session work properly? The answer is no. This tutorial shows you why, and provides you suggestions on how to manage your own sessions without cookies
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).
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
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 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 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
16 times | category:
this:1/125records total:18 start Previous Next Last goto: