Skip to content

Commit

Permalink
This page needs to be updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brianna authored and Brianna committed Apr 14, 2017
1 parent 6ccd07a commit 1d19e52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions WebContent/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,8 @@ if(usercookies != null){
for(Cookie c : usercookies){
if(c.getName().equals("ssoNum")){//when (and if) we get to user cookie we want to reset it
navsso = c.getValue();
c.setMaxAge(0);//delete current
newCookie = new Cookie("ssoNum",navsso); //make new one
newCookie.setMaxAge(30*60);
response.addCookie(newCookie);
c.setMaxAge(30*60);
response.addCookie(c);
break;
}
}
Expand Down
1 change: 0 additions & 1 deletion WebContent/userLogin.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ int ssoNum;
Cookie userCookie;
ssoNum = Integer.parseInt(request.getParameter("ssoNum"));
int ssoLength = (int)(Math.log10(ssoNum)+1);
Class.forName("com.mysql.jdbc.Driver");
String database = "jdbc:mysql://us-cdbr-iron-east-04.cleardb.net/ad_15a989204c2ff8a?user=b372dfe7409692&password=74f6e317";
Expand Down

0 comments on commit 1d19e52

Please sign in to comment.