Rajaprabhu Aravindasamy wrote:
how to set username in session ?
1. create a new session upon successful authentication
2.and set user name;redirect to welcome page
*dont use jsp for this purpose
Rajaprabhu Aravindasamy wrote:
how to access it in jsp page..?
Use Expression Language
${sessionScope['userName']}
Rajaprabhu Aravindasamy wrote:
and how to remove it .?
invalidate existing session
or for removing particular attribute-userName
*dont use jsp for this purpose