This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes declare cookies in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "declare cookies in jsp" Watch "declare cookies in jsp" New topic

declare cookies in jsp

Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
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,Vasantha<p>Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
Bharath Reddy G V

Joined: Nov 19, 2003
Posts: 2
The following link can help U understand the Cookie usage in JSP
jyothsna kumari
Ranch Hand

Joined: Jul 21, 2003
Posts: 108
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.
jQuery in Action, 2nd edition
subject: declare cookies in jsp
Similar Threads
Cookie question
check cookie enabled with jsp or javascript
Cookies using Jsp
Declare methods within Scriptlets
JSP and Javascript Cookies