I have done exactly as you have said. But the very inclusion of HREF tag, is creating problems as I cann't access my session object.