I check for session value on
jsp page and its null,so session expires and it shows the related page asking for login again,online.But on local host it works fine.
I am using a cache manager class,in it caching attribute value of "loginid",which i check for session expires or not in jsp.But problem is how do i get "loginid" which i take from jsp
from
servlet to cacheManager.java
in servlet i use setAttribute and set searchcategory taken from cacheManager.Above code worked fine,solved my problem of online search.but i want single "loginid" value from Servlet which i took from jsp shown above, in cacheManager.java
so that i can
cacheMap.put(loginid, loginid1);
Correct me if i am wrong,anywhere.