Subversion Repositories SmartDukaan

Rev

Rev 22093 | Rev 22111 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22093 Rev 22094
Line 53... Line 53...
53
		if (cookies == null){
53
		if (cookies == null){
54
			throw new ProfitMandiBusinessException("", "", "");
54
			throw new ProfitMandiBusinessException("", "", "");
55
		}
55
		}
56
		
56
		
57
		Cookie cookieFofoId = new Cookie(ProfitMandiConstants.FOFO_ID, "");
57
		Cookie cookieFofoId = new Cookie(ProfitMandiConstants.FOFO_ID, "");
58
		Cookie cookieEmailId = new Cookie(ProfitMandiConstants.EMAIL_ID, "");
-
 
59
		cookieFofoId.setMaxAge(0);
58
		cookieFofoId.setMaxAge(0);
60
		cookieFofoId.setPath(request.getContextPath());
59
		cookieFofoId.setPath(request.getContextPath());
-
 
60
		cookieFofoId.setDomain(request.getServerName());
-
 
61
		
-
 
62
		Cookie cookieEmailId = new Cookie(ProfitMandiConstants.EMAIL_ID, "");
61
		cookieEmailId.setMaxAge(0);
63
		cookieEmailId.setMaxAge(0);
-
 
64
		cookieEmailId.setDomain(request.getServerName());
62
		cookieEmailId.setPath(request.getContextPath());
65
		cookieEmailId.setPath(request.getContextPath());
-
 
66
 
63
		response.addCookie(cookieFofoId);
67
		response.addCookie(cookieFofoId);
64
		response.addCookie(cookieEmailId);
68
		response.addCookie(cookieEmailId);
65
	}
69
	}
66
}
70
}