A while ago, I posted a modified version of this widget. Since then, I made some corrections to fix some bugs and implemented some enhancements. With this version you can save in the session a local file (shapefile), in addition to any web service based layers, and the basemap that you are using. This version was developed in version 2.4 and it was tested in Chrome and IE. Just add this widget in the widget folder in your app and add the entry in the config.json.
Hey Lefteris! Great modifications
Would you mind outlining what you changed specifically to support shapefiles & basemaps? We've made several modifications already to the SaveSession widget and want to incorporate just the functionality of saving basemaps & shapefiles that you added.
Thanks!
Did you ever run into an issue where the sublayers of a map service don't appear in the Layer List? The Layer List just shows the Parent Layer and no sublayers.