|
Hi All! i have a problem. i get a different session id within a session even though it has not timed out, when i retrieve the session object from the request object. it happens only on certain machines. where as in most of the machines it works fine. boolean sessstat = false; session = req.getSession(false); System.out.println("session id in callQueryExecutive : " + session.getId()); if (session == null) sessstat = false; else sessstat = true; // System.out.println("User Session : " + chubbapz.ui.UIUtils.sessionExist(req)); // session = req.getSession(); System.out.println("Session stat : " + sessstat); userObj = (PRISMUser)session.getValue("prismUser"); if(userObj == null) System.out.println("UserObject in execute query : null"); else System.out.println("UserObject in execute query : not null"); is the code i'm using. can someone help me out on this. this happens on my boss notebook during demo when he is accessing the page from the webspher from a remote location. it also happens on my machine when i run it from websphere test environment. when my other colleagues run, it works fine. when i access the same from the remote server it works fine on my machine. plz it's a do or die situation for me. someone plz help me on this. Thnx & Regards Azeem. +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.