DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20738>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20738 Session variable returns null in non-SSL page [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Session variable returns |Session variable returns |null in non-SSL page |null in non-SSL page ------- Additional Comments From [EMAIL PROTECTED] 2003-06-13 10:22 ------- I cant have my full webapp in ssl session as it consumes resources. so i have to have some non-ssl web pages also. in these pages i need some session variables for example user name to display in the page. I have also tested folowing. If i set my session variable in non-ssl page i can access that session variable in both http& https pages , where is if i set my session variable in ssl page i can access that session variable ONLY in SSL page. in non-ssl page it returns null. here are jsp code . First begin by accessing first.jsp through HTTP //********first.jsp************************/ <% session.setAttribute("Name","Value"); %> <a href="https://localhost/examples/test/second.jsp">next</a> /************end of first.jsp****************/ //********second.jsp************************/ <% out.println("o/p from second.jsp :"+(String)session.getAttribute("Name")); %> <br> <a href="http://localhost/examples/test/third.jsp">next</a> /************end of second.jsp****************/ //********third.jsp************************/ <% out.println("o/p from third.jsp :"+(String)session.getAttribute("Name")); %> <br> <a href="first.jsp">next</a> /************end of third.jsp****************/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]