my firewall blocks session variables! how to allow?
843811Jun 29 2005 — edited Jun 30 2005My 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");
--------
--------
%>