<%@ include file="dbconnection.jsp" %> <%@ page import="java.io.*" %> <%@ page import="java.net.*" %> <% java.sql.Statement stmt=con.createStatement(); java.sql.Statement stmt1=con.createStatement(); java.sql.Statement stmt2=con.createStatement(); int count=0; String sql="select * from sescounter"; ResultSet rs=stmt.executeQuery(sql); if(rs.next()) { count=Integer.parseInt(rs.getString("count")); } rs.close(); if(session.getAttribute("userses")==null) { /*updating counter values*/ count=count+1; String sql1="update sescounter set count='"+count+"'"; stmt1.executeUpdate(sql1); String ses="us"; session.setAttribute("userses",ses); /*Finding the IP address,Inserting it to the table */ InetAddress in=null; String addr=in.getLocalHost().toString(); //out.print(addr); int len=addr.length(); String ip=addr.substring(addr.indexOf("/")+1,len); //out.print(ip); String sql2="insert into ipaddr(ipaddress) values ('"+ip+"')"; stmt2.executeUpdate(sql2); } %>

 

Labour India Educational Research Centre
& Publications Ltd.
 

Do You

 Have

a question

 to ask?

 
<% if(request.getParameter("msg")!=null) {%> <%}%>

Login            <% if(request.getParameter("msg") != null) { out.print(""); out.print(request.getParameter("msg")); out.print(""); } %>

Username

Password

 

 

New user?     SIGN UP

Forgot password?

 Product search

 Links
  Sancharam
  Brilliant Student
  Gurukulam
Keralsree
  Knowledge Fest
  Feedback survey
  Contact Us
The official website for Mr. Santhosh George Kulangara, the first Indian Space Tourist   www.santhoshgeorge.com
sancharam.com glimpses of an exciting world tour

CBSE HSS Educational Journals

  • Labour India educational journals for CBSE +1 and +2 (Science & Commerce) students are available now

  • Comprehensive learning aids based on the latest revised texts

  • Several informative and attractive columns included

  • October issue (+2) released

Syllabus based CDs for std X (SCERT) Released

  • Physics

  • Chemistry

  • Biology

  • Mathematics

Kerala State syllabus Magazine - 5th issue
now on sale

 
  • Detailed lesson analysis
  • All possible questions and answers of the latest pattern

Labour India illustrated biography series-6 books available now

 
  • Mahatma Gandhi

  • Alber Einstein

  • Helen Keller

  • Rabindranath Tagore

  • Mother Teresa

  • Abraham Lincoln

Quiz India 2008 now on sale

 

Quiz India 2008 is prepared with special emphasis on India in this 60th year of independence.

  • A pool of information on almost 20 subjects
  • Flashback 2006-07 (India, Kerala & world)
  • Obituary 2006-07
  • About 2000 quiz questions and answers and so on...

Have you participated in

Labour India Smart camps?

to conquer heights of success in life

UR Winner

Register
in our 2008 vacation residential camps

National Talent Search Examination
Garhika Vignjana kosham
 

 site map  :   feedback  :   feedback survey   :  events  :   contact us  :   careers  :   FAQ's

Copyright 2007-2008 Labour India Publications Ltd. All Rights Reserved.