Subversion Repositories SmartDukaan

Rev

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

Rev 9577 Rev 12143
Line 23... Line 23...
23
	 */
23
	 */
24
	private boolean isLoggedIn;
24
	private boolean isLoggedIn;
25
	private long userId;
25
	private long userId;
26
	private String email;
26
	private String email;
27
	private String pincode;
27
	private String pincode;
-
 
28
	private boolean isPrivateDealUser;
28
	
29
	
29
	public UserSessionInfo(){
30
	public UserSessionInfo(){
30
		this.isLoggedIn = false;
31
		this.isLoggedIn = false;
-
 
32
		this.setPrivateDealUser(false);
31
		this.userId = -1;
33
		this.userId = -1;
32
		this.email = "";
34
		this.email = "";
33
		this.pincode = "110001";
35
		this.pincode = "110001";
34
	}
36
	}
35
 
37
 
Line 130... Line 132...
130
		System.out.println();
132
		System.out.println();
131
		String cookieValue = "fG0CKt4DUD_D9iP1Ero0v2Io1AgVLoGqXDp0NWAPkzZuw3zHKot5owJK6IodZQfE2aS-obOK3BwXUNRirVHDyd-ycsyG4GfBPd0Ypl1MkxuVBmY4csB0FEg_IgWUm9GaGEzvtmmiZ5bE24XlpUPqR4AoTUAp8d92DDTG61FOFktDIGg3L0Tyk4qpVlAU3xQ3";
133
		String cookieValue = "fG0CKt4DUD_D9iP1Ero0v2Io1AgVLoGqXDp0NWAPkzZuw3zHKot5owJK6IodZQfE2aS-obOK3BwXUNRirVHDyd-ycsyG4GfBPd0Ypl1MkxuVBmY4csB0FEg_IgWUm9GaGEzvtmmiZ5bE24XlpUPqR4AoTUAp8d92DDTG61FOFktDIGg3L0Tyk4qpVlAU3xQ3";
132
//		UserSessionInfo uinfo = UserSessionInfo.getUserSessionInfoFromCookieValue(cookieValue);
134
//		UserSessionInfo uinfo = UserSessionInfo.getUserSessionInfoFromCookieValue(cookieValue);
133
//		System.out.println(uinfo);
135
//		System.out.println(uinfo);
134
	}
136
	}
-
 
137
 
-
 
138
	public void setPrivateDealUser(boolean isPrivateDealUser) {
-
 
139
		this.isPrivateDealUser = isPrivateDealUser;
-
 
140
	}
-
 
141
 
-
 
142
	public boolean isPrivateDealUser() {
-
 
143
		return isPrivateDealUser;
-
 
144
	}
135
}
145
}
136
146