show login form using ajax after session expiration in grails
===

i had a list of user displayed in a table whose **session** expires after 20min but after expiration it doesn't goes to login page without refreshing and i want to show a pop-up to display a login form which after login will keep me to the same url. I'm working on *grails* can anyone help with it?