I am facing problem for user session tracking. This problem occurs for one network only, for rest it works fine.

Source code is written in one .jsp page as -

This attribute is set in loginpage servlet as

It's work fine all machine except from one of them network. When I try to trace this for that particular network it returns Session.getAttribute("userID"); as NULL but when I try Session.getID(); then it shows some session id but not allowing to access attribute set to that session and this is happing only for one network only.

I checked cookies setting for this network. But cookies are affecting on result here (we have not used cookies for session tracking.)

When I remotely logged in this network from here then it works fine on same machine.

Let me know in case need more clarification for this.

Does anybody have any idea regarding this problem?