Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

my firewall blocks session variables! how to allow?

843811Jun 29 2005 — edited Jun 30 2005
My firewall (ZoneAlarm) is avoiding Session variables across different .jsp pages in the web application. With the firewall turned off the Session variable communication is perfect. How to overcome this? (Irrespective whether the firewall is turned on or off, session variables 'set' in a page can be 'get' in the same page.)

Turning off firewall... thats not feasible, because my system administrator will never do that!

the code goes here
=============

1.jsp
<%
String x="java";
Session.setAttribute("sess_var_x", x);
response.sendRedirect("http://localhost:8086/my_dir/2.jsp");
%>

2.jsp
<%
String y;
// if firewall is turned on 'y' gets 'null' else 'java'
y=(String)Session.getAttribute("sess_var_x");
--------
--------
%>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 28 2005
Added on Jun 29 2005
6 comments
196 views