Session Management Project in JSP - NESTED CODE || TECH FLOAT

Breaking

Post Top Ad

Post Top Ad

Sunday, 19 May 2013

Session Management Project in JSP

Today we are going to create a little project on SESSION MANAGEMENT IN JSP. The Software required to run this project is NetBeans. We used NetBeans IDE 6.1 version. The demo copy we are publishing here. Download and open with NetBeans(with open project option).


Click here to download the Complete Project (Click here to Download )


Step by Step discussion ::

Step 1 :: Create the Home page. There will be a Login form. Different user can Login by their own id and password.

Step2 ::  Next step we have created the loginsuccess.jsp page, actually the page contains the codes which will verify valid id and password by matching the data from database(oracle 10G XE used).

Step3 ::  For valid ID and PASSWORD user will be logged in their EMPLOYEE page(which is employee.jsp). Here to handle the session we have used the following code. To see the code in details open the page from project with NOTEPAD or NOTEPAD++.
code is like

                   <%
                    HttpSession ses= request.getSession();
                    String si= (String) ses.getAttribute("id");
                    %> 

Step 4 :: Mainly three options are there as shown in the picture below :-


You can access these three different option without providing id (Handled by SESSION HANDLING).

Download The project and run it. For further query contact us or comment below. Thank you.

2 comments:

  1. At the point when a client interfaces with your application you can constrain them to give logon qualifications. On the off chance that the client effectively verifies they wouldn't hope to give these accreditations again unless the logon times out or they are executing a favored activity.
    Session administration permits your application to just require the clients to validate once furthermore affirm that the client executing a given activity is the client who gave the first accreditations. To an aggressor any shortcomings in the session administration layer of your application can be a simple approach to sidestep the diligent work we have done as such far in the initial four standards.
    Munnar call taxi

    ReplyDelete
    Replies
    1. Thanks for your comments! Would you like to donate us with 50/- for better service ? please click the below URL -

      https://imjo.in/t9cEFy

      Thanks! Keep reading our blogs! Happy Reading!

      Delete

Post Bottom Ad