• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Login page using sessions

krishnaveni

Well-Known Member
Hi Good Afternoon,

am new to android ....i need login page using session concepts,..how is creating session variable in android..plz reply me...send me what is the best link for learning above concepts...
 
Hi Good Afternoon,

am developed one login page..here i like to managing session concepts..but i dono...plz help me..i know ly the managing session concepts coding part is
HttpSession session = request.getSession (true);
if (session.isNew() == false) {
session.invalidate();
session = request.getSession(true);
}
session.setAttribute("username", firstname);
firstname username = (firstname)
session.getAttribute('username');
if (username == null) {
response.sendRedirect
("LoginLayoutActivity.java");
return;
}.
dis coding am inserting my project..but here that pink color username having error..the error is invalid character constant..how it is cleared?....help me..
 
Back
Top Bottom