php.docx - Cookies Cookie is a key value pair of information sent by the server to the browser and then browser sends back this identifier to the server

php.docx - Cookies Cookie is a key value pair of...

This preview shows page 1 - 2 out of 3 pages.

Cookies Cookie is a key value pair of information, sent by the server to the browser and then browser sends back this identifier to the server with every request there on. There are two types of cookies: Session cookies - are temporary cookies and are deleted as soon as user closes the browser. The next time user visits the same website, server will treat it as a new client as cookies are already deleted. Persistent cookies - remains on hard drive until we delete them or they expire. Hidden Field Hidden fields are the input fields which are not displayed on the page but its value is sent to the servlet as other input fields. For example <input type=”hidden” name=”sessionId” value=”unique value”/> is a hidden form field which will not displayed to the user but its value will be send to the server and can be retrieved using request.getParameter(“sessionId”) in servlet. URL Rewriting URL Rewriting is the approach in which a session (unique) identifier gets appended with each request URL so server can identify the user session. For example if we apply URL rewriting on
Image of page 1

Subscribe to view the full document.

Image of page 2
  • Spring '18
  • ASTON
  • English, It, Method, public void, HTTP cookie

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes