The "data" files with its parent folder must be deleted automatically when a session is invalidated either by calling #invalidate[Now]() method or due to inactivity of the user. If the file is not removed then it is bug in Wicket that should be fixed! Please create a quickstart application that shows the problem and attach it to a ticket in JIRA! Thank you!
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Jan 21, 2016 at 4:51 PM, bilguun <[email protected]> wrote: > Hello, > > I realized those files are removed when session is expired due to the user > inactivity and main method that removes those files is a method unbind() of > static inner class > org.apache.wicket.protocol.http.pagestore.DiskPageStore.SessionEntry. But > if > user explicitly logout, it does not delete those files using only > invalidateNow(). So do I have to call that unbind() method manually to > delete those files? > > Thanks, > > Bill > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Lots-of-files-in-temp-folder-tp4673379p4673390.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
