Subversion Repositories SmartDukaan

Rev

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

Rev 7114 Rev 7115
Line 77... Line 77...
77
    
77
    
78
    public String index() {
78
    public String index() {
79
        
79
        
80
        String loginStatus = (String) request.getSession().getAttribute("LOGGED_IN");
80
        String loginStatus = (String) request.getSession().getAttribute("LOGGED_IN");
81
        if(loginStatus != null && loginStatus.equals("TRUE")){
81
        if(loginStatus != null && loginStatus.equals("TRUE")){
82
        	storeId = Long.parseLong((String) request.getSession().getAttribute("storeid"));
82
        	storeId = Long.parseLong((String) request.getSession().getAttribute("STORE_ID"));
83
        	if(!hotspotStores.containsKey(storeId)){
83
        	if(!hotspotStores.containsKey(storeId)){
84
        		try{
84
        		try{
85
        			HotspotStore hotSpotStore = (new TransactionClient()).getClient().getHotspotStore(storeId, "");
85
        			HotspotStore hotSpotStore = (new TransactionClient()).getClient().getHotspotStore(storeId, "");
86
        			hotspotStores.put(storeId, hotSpotStore);
86
        			hotspotStores.put(storeId, hotSpotStore);
87
        		} catch (Exception e) {
87
        		} catch (Exception e) {