Subversion Repositories SmartDukaan

Rev

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

Rev 11985 Rev 11988
Line 73... Line 73...
73
            else if (action.equals("removecoupon"))    {
73
            else if (action.equals("removecoupon"))    {
74
            	if(userinfo.isPrivateDealUser()) {
74
            	if(userinfo.isPrivateDealUser()) {
75
            		if (cookiesMap.get(UserInterceptor.DEAL_COUPON_REMOVED)==null) {
75
            		if (cookiesMap.get(UserInterceptor.DEAL_COUPON_REMOVED)==null) {
76
        				Cookie co = new Cookie(UserInterceptor.DEAL_COUPON_REMOVED, "true");
76
        				Cookie co = new Cookie(UserInterceptor.DEAL_COUPON_REMOVED, "true");
77
        				co.setDomain(this.domainName);
77
        				co.setDomain(this.domainName);
-
 
78
        				co.setPath("/");
78
        				cookiesMap.put(UserInterceptor.DEAL_COUPON_REMOVED, co);
79
        				cookiesMap.put(UserInterceptor.DEAL_COUPON_REMOVED, co);
79
            		}
80
            		}
80
            	}
81
            	}
81
                userServiceClient = new UserClient();
82
                userServiceClient = new UserClient();
82
                UserContextService.Client userClient = userServiceClient.getClient();
83
                UserContextService.Client userClient = userServiceClient.getClient();