JSP Tutorial Cookies

Source: Internet
Author: User
Cookies
The resin tries to track the meeting user by sending the user's browser to the cookie. This cookie contains a long list of resins to be created by the ID of the meeting.

URL Rewrite
Sometimes the resin cannot create a cookie, or because the user has disabled the cookie browser, or because the browser does not support (such as HDML some browsers and wireless markup language). If the cookie can no longer be used to set up the so-called URL rewrite.

URL rewrite, rewrite each resin, and its URL is submitted to the user so that it contains a section '; Jsessionid = number; ' 。 Then for each incoming request the first thing it is to look for this parameter, if it can be aware that the meeting has been established, it eliminates the jsessionid and uses it to find the user session object.

URL rewriting requires some assistance, development, which is discussed later.

Get ServletContext, meeting, request, and response objects
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.