Subversion Repositories SmartDukaan

Rev

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

Rev 12007 Rev 12008
Line 75... Line 75...
75
            else if (action.equals("removecoupon"))    {
75
            else if (action.equals("removecoupon"))    {
76
            	if(userinfo.isPrivateDealUser()) {
76
            	if(userinfo.isPrivateDealUser()) {
77
            		if (cookiesMap.get(UserInterceptor.DEAL_COUPON_REMOVED)==null) {
77
            		if (cookiesMap.get(UserInterceptor.DEAL_COUPON_REMOVED)==null) {
78
        				Cookie co = new Cookie(UserInterceptor.DEAL_COUPON_REMOVED, "true");
78
        				Cookie co = new Cookie(UserInterceptor.DEAL_COUPON_REMOVED, "true");
79
        				co.setDomain(this.domainName);
79
        				co.setDomain(this.domainName);
-
 
80
        				co.setMaxAge(-1);
80
        				co.setPath("/");
81
        				co.setPath("/");
81
        				cookiesMap.put(UserInterceptor.DEAL_COUPON_REMOVED, co);
82
        				cookiesMap.put(UserInterceptor.DEAL_COUPON_REMOVED, co);
82
            		}
83
            		}
83
            	}
84
            	}
84
                userServiceClient = new UserClient();
85
                userServiceClient = new UserClient();