Revision 2171
Added by Duane Costa almost 20 years ago
MetUpload.java | ||
---|---|---|
81 | 81 |
MultipartParser parser = new MultipartParser(req, 1024 * 1024); |
82 | 82 |
ParamPart pPart; |
83 | 83 |
HttpSession sess = req.getSession(true); |
84 |
String password = (String) sess.getAttribute("Mpassword");
|
|
84 |
String password = (String) sess.getAttribute("password"); |
|
85 | 85 |
StringReader sr = null; |
86 | 86 |
boolean upload = false; |
87 |
String username = (String) sess.getAttribute("Musername");
|
|
87 |
String username = (String) sess.getAttribute("username"); |
|
88 | 88 |
|
89 | 89 |
res.setContentType("text/plain"); |
90 | 90 |
|
Also available in: Unified diff
Store session attributes as username and password for consistency with Metacat