Are Sessions Working?
Join the DZone community and get the full member experience.Join For Free
// You can use this piece of code to check if it is possible to use sessions for the visitor. This can come handy for login pages. If you have cookies disabled and try to login, no login session can be used. In such cases it is nice to inform your visitors.