Originally posted by vedha vas:
Hi Rajkumar balakrishnan ,
In the checkSession method, in the try part first call the valueBound(event) method after that start
with the code:
ps=con.prepareStatement(SQL2);
ps.setString(1,sname);
You should not be calling these methods directly. DBModel implements HttpSessionBindingEvent so will be called when a session binding event occurs. Presumably the
pattern is to open a single connection for a single user when their session is bound?