[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 183
  • Last Modified:

[JSP] Use of Cookies

Hi,

Since I can store objects in the session,
I can't see what cookies are for ...
And I hear a lot about cookies.

What are they used for in comparison with sessions,
and a concrete example will help !

Thank !!
0
matthew016
Asked:
matthew016
  • 3
  • 2
3 Solutions
 
CEHJCommented:
Cookies are stored on the client, not the server. Cookies are used to record preferences on the client and also session info
0
 
CEHJCommented:
0
 
Mayank SAssociate Director - Product EngineeringCommented:
Do you mean you want to understand the difference between storing session state in HttpSession and using cookies?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
matthew016Author Commented:
thankq CEHJ for the link

@mayankeagle:

if i have understand sessions are stored server side and cookies client side.
But I want examples of when to use cookies.
0
 
Mayank SAssociate Director - Product EngineeringCommented:
0
 
CEHJCommented:
:-)
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now