File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Joined: Oct 15, 2007
Dec 21, 2007 10:59:00
when ever user logs into the system i want to create a session for the user.how to do this...
Joined: Feb 08, 2006
Dec 21, 2007 14:15:00
Your web server and/or application server pretty much does this for you. Do you have specific questions or issues?
Joined: Dec 21, 2007
Dec 21, 2007 14:57:00
you can put a user object in the request session...that way you have the user information all over your app.
//setting the user information on the session
//reading the user information from the session
UserObject user = (UserObject)request.getSession().getAttribute("UserSession");
Be free...do what ever you whant
I agree. Here's the link:
How to know the last visited user in webpage
Session problem in NetBeans
Field set in action method coming null in JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015