• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

declare cookies in jsp

 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one give me an example,How can I declare cookies in Jsp
and what is the exact difference between the cookies and session
Regards,
Sangeetha
 
Bharath Reddy G V
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following link can help U understand the Cookie usage in JSP
http://www2.real-time.com/rte-tomcat/2000/Jun/msg02093.html
 
jyothsna kumari
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai,
session variables are something which will remain only till the end of the aplication(if they are not killed in the middle).kookies are used to store the data permanently so that when ever u call them data is available.
jyothsna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic