Fri Oct 24, 2008 8:22 pm
have one session object named "lastlogin"
i want to convert this session object into string...
i tried like this.....
session.getAttribute("lastlogin").toString();
but it is giving type mismatch error...
i want to convert this object and have to compare to string value...
how can i do that?...
thanx in advance...
Fri Oct 24, 2008 8:23 pm
have one session object named "lastlogin"
i want to convert this session object into string...
i tried like this.....
session.getAttribute("lastlogin").toString();
but it is giving type mismatch error...
i want to convert this object and have to compare to string value...
how can i do that?...
thanx in advance...
Fri Oct 24, 2008 8:34 pm
String str = (String)session.getAttribute("yoursessionname");
I think you can solve your prob with this.
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.