my dog learned polymorphism*
The moose likes JSP and the fly likes JSp sessionvalue not getting IE8 version Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSp sessionvalue not getting IE8 version" Watch "JSp sessionvalue not getting IE8 version" New topic

JSp sessionvalue not getting IE8 version

Shilpa Nandiv

Joined: Oct 29, 2012
Posts: 6

I am executing jsp file in i frame.I set the values in session in upload.jsp file and accessing in uploadprosess.jsp and executing application in IE8 .So iam not getting session values please check the code and tell me.and this code is working in all browser.


String rollNo = request.getParameter("rollNo");
String subjectCode = request.getParameter("subjectCode");
String setNo = request.getParameter("setNo");
String returnUrl = request.getParameter("returnUrl");
String sessionId = session.getId();


String rollno=(String)session.getAttribute("rollNo");
String subjectCode=(String)session.getAttribute("subjectCode");
String setNo=(String)session.getAttribute("setNo");
String returnUrl=(String)session.getAttribute("returnUrl");
String sessionId=(String)session.getAttribute("sessionId");

I am getting null values


er.gaurav goel

Joined: Dec 28, 2011
Posts: 2
(String)session.getAttribute("sessionId"); makes no sense to me as the session Id will be the same for each page. i.e. request.getSession.getId() will return the same ID.
And your question is not clear enough, kindly elaborate the question a bit.
I agree. Here's the link:
subject: JSp sessionvalue not getting IE8 version
Similar Threads
problem in setAttribute() and getAttribute() functions
Session problem in NetBeans
Session variables are not getting storred
problem while retrieving 2d array
Problem with session context.(Urgent)