Results 1 to 6 of 6

Thread: How to use ASP to maintain the cookie

  1. #1
    Join Date
    Feb 2010

    How to use ASP to maintain the cookie

    Hi all,

    I am programming a asp page for banking website.I use a script that is an effective way is to create a cookie can only be accessed by its domain. That is to say for instance, only have access to created cookie. Generally, this is not a problem however, if i need two different domains of the two different sites to share stored in the cookie in the user information, how to handle it? Please suggest me how to use ASP to maintain the cookie. Thanks.

  2. #2
    Join Date
    Jan 2008

    How to use ASP to maintain the cookie

    Cookie is stored on the client computer in a small file, which means that whenever a user visits your site, you can secretly placed on its hard drive containing information about a file. This file can contain almost anything you intend to set up information, including user information, the site status and so on. In this case, there is a potential danger: such information may be a hacker to read. To prevent this problem from occurring, an effective way is to create a cookie can only be accessed by its domain. Best of luck.

  3. #3
    Join Date
    Feb 2008

    How to use ASP to maintain the cookie

    I have some ASP code to handle cookie for maintain the cookie. Check that and reply.

    Response.Cookies ( "MyCookie123"). Expires = Date +365
    Response.Cookies ( "MyCookle123"). Domain = ""
    Response.Cookies ( "MyCookle123") ( "login") = strlogin
    Response.Cookies ( "MyCookle123") ( "Pass") = strPassword

  4. #4
    Join Date
    May 2008

    How to use ASP to maintain the cookie

    datExpDate123 = Request.Cookies ( "MyCookie123")
    strDomaln123 = Request.Cookies ( "MyCookle123"). Domain
    strUsername123 = Request.Cookies ( "MyCookle123") ( "Username123")
    strPassword123 = Request.Cookies ( "MyCookie123") ( "Password123")
    To read and write cookie is very simple, the above code to create a cookie and to give cookie settings attributes: domain, expiration time, and other values stored in the cookie. Here, strUsername123, strPassword123 set somewhere in front of the variable. Then, by the following statement to read in the cookie.

  5. #5
    Join Date
    Oct 2005

    How to use ASP to maintain the cookie

    A simple sharing of know-how is the cookie-redirect, the general process is:

    # A user clicks on any one site foe ex-
    # If the user does not the cookie, put the user is redirected to
    # If the user has the cookie, the user with a special logo redirected back to, otherwise, only the user is redirected to
    # created cookie.

  6. #6
    Join Date
    May 2008

    Re: How to use ASP to maintain the cookie

    The most viable option is to establish a shared cookie ring. Will refer to the server list is stored in one place that is on backup server, so that each reference to the server and decided to redirect the user can find the next site. Remember must pass a query string to track the meaning of the original server on which the user is started. This transmission of information very quickly, this aspect is becoming increasingly feasible. Check and reply.

Similar Threads

  1. How to maintain security of your server
    By Bontu in forum Networking & Security
    Replies: 2
    Last Post: 07-08-2011, 04:09 AM
  2. How to maintain Web server security
    By Sharanya in forum Technology & Internet
    Replies: 5
    Last Post: 14-02-2010, 01:56 AM
  3. Maintain cpu temperature with application
    By Abhibhava in forum Overclocking & Computer Modification
    Replies: 3
    Last Post: 10-12-2009, 04:06 AM
  4. How to maintain and troubleshoot windows
    By Daniel23 in forum Operating Systems
    Replies: 3
    Last Post: 06-12-2009, 05:34 AM
  5. Maintain Your Computer And It's Security
    By Humberto in forum Guides & Tutorials
    Replies: 4
    Last Post: 17-02-2009, 11:39 AM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Page generated in 1,696,303,972.48139 seconds with 17 queries