   # get item
   get: (key) ->
     return @store[key] if !@support
-    value = localStorage.getItem( key )
+    value = sessionStorage.getItem( key )
     return if !value
     object = JSON.parse( value )
     return object

  delete: (key) ->
    delete @store[key]
    return if !@support
    localStorage.removeItem( key )

  # clear local storage
  clear: ->
    @store = {}
    localStorage.clear()

  # return list of all keys
  list: ->

        list.push key
      return list

#    logLength = sessionStorage.length-1;
#    for count in [0..logLength]
#      key = sessionStorage.key( count )
#      if key
#        list.push key
    for key of window.sessionStorage
      list.push key
    list
