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 Session.putValue   VS   Session.setAttribute 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 "Session.putValue   VS   Session.setAttribute" Watch "Session.putValue   VS   Session.setAttribute" New topic

Session.putValue VS Session.setAttribute

Sanjay Deshpande
Ranch Hand

Joined: May 22, 2001
Posts: 111
Out of these 2
Session.putValue & Session.setAttribute
Which one is better and why?
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Did you check the javadocs?
Deprecated. As of Version 2.2, this method is replaced by setAttribute
I agree. Here's the link:
subject: Session.putValue VS Session.setAttribute
Similar Threads
Urrgent Pls Advice as soon as possible
Session Variable problem in EJB
Session Tracking with cookies disabled.
JSP sessions under Websphere
Difference b/w "session.putValue" and session.setAttribute"?