Page 1 of 1

Session Management

Posted: Wed Aug 22, 2012 4:05 am
by vijragha
Hi,

I am trying to do the login by key in userid and password to portal and handled the session object. After successful login, it will redirect to another page. Same thing, I want to do using Nagios, Is it possible?

Thanks in advance.

Re: Session Management

Posted: Wed Aug 22, 2012 1:50 pm
by agriffin
Hi vijragha, can you please clarify your post a bit? I don't quite understand what you're asking.

What login method are you using? Please briefly describe the steps you're taking to log in.

Re: Session Management and Redirection of another page

Posted: Wed Aug 22, 2012 8:30 pm
by vijragha
Hi Support,

Thanks for your reply.

I want to use check_http

1: From Nagios call URL with parameter (eg: http://domain.com/index.jsp)
2: index.jsp: This page will do the redirect to http://domain.com/xyz.jsp. (response.sendRedirect("http://domain.com/xyz.jsp"))

Contents of index.jsp
-------------------------------------------------------
<html>
<%
System.out.println("In index.jsp");
%>
<script type="text/javascript">
document.location.href="http://domain.com/xyz.jsp";
</script>
</html>

Contents of xyz.jsp
-------------------------------------------------------
<html>
<%
System.out.println("In xyz.jsp");
%>
</html>

-------------------------------

I am able to see index.jsp is getting executed based on log message ("In index.jsp").
But I unable to see xyz.jsp is getting executed. Because it is not printing message "In xyz.jsp"
Hope I describe clearly.

Thanks

Re: Session Management

Posted: Mon Aug 27, 2012 8:20 pm
by vijragha
Hi Support,

I am waiting for your reply.

Kinldy update me.

Thanks in advance