Revision 337
Added by bojilova over 24 years ago
src/edu/ucsb/nceas/metacat/MetaCatSession.java | ||
---|---|---|
87 | 87 |
} |
88 | 88 |
// store username & password in the session for later use if necessary |
89 | 89 |
sess.setMaxInactiveInterval(-1); |
90 |
sess.putValue("username", username);
|
|
91 |
sess.putValue("password", password);
|
|
90 |
sess.setAttribute("username", username);
|
|
91 |
sess.setAttribute("password", password);
|
|
92 | 92 |
|
93 | 93 |
return sess; |
94 | 94 |
} |
Also available in: Unified diff
replaced some deprecated methods with the new v2.2 of Java Servlet API