Share on Google+Share on Google+

ashok kumar
web application security
1 Answer(s)      8 years ago
Posted in : Security

Ads

View Answers

March 21, 2009 at 5:40 AM


Hi friend,

For solving the problem some points to be remember :

1.Create a session and set the session "true".

2.Set the session value using the code :
session.setAttribute("user","user");

3.Check on every page using the code :

if(session.getAttribute("user").equals("user"))
{
response.sendRedirect("next.jsp");
}

For read more information on session visit to :

http://www.roseindia.net/jsp/jspsession/

http://www.roseindia.net/jsp/SessionAttribute.shtml

http://www.roseindia.net/jsp/loginstatus.shtml

Thanks













Related Tutorials/Questions & Answers:
Web application security - Security
Web application security  Hi, Expert how to hide url in webpage or fix the url in every web page in java.Please give any suggestion or idea
web application security - Security
web application security  Hello, Experts how can i prevent that a copy url cannot run in same brower or different browser again .Please Suggest any idea i already check if a session is null then forwward a login page
Advertisements
web services security testing by soapUI
web services security testing by soapUI  how to make security testing to online examination system by soapUI
web application
web application  what is lazy loading in web based application
web application
web application  Dear friend, could u plz tell me wats difference bt web server,application server,container with thanks praveen
Create Security header in web services - WebSevices
Create Security header in web services  How we can create a security header in the web services.Please provide me the code if anyone available thanks in advance
Web application
Web application  in web applications which file will execute first either servlet or jsp
secure web service using mutual certificate security
secure web service using mutual certificate security  hello, i need help making secure web sevice using MCS (mutual certificate security). I use... truststore then i change secure properties in web service and web service
web application
web application  Develop a web application to print back the inputs from the user(name, date of birth, address). The solution should have a JSP file which accepts the user‚??s name and sent to Servlets which puts the name
web application to internet - JavaMail
web application to internet  how to connect my web application to internet
Do Apache Web Agent Work with Tomcat5 - Security
Do Apache Web Agent Work with Tomcat5  Hi ALL, We are planing interigate our struts applcation to SSO Single Sign On SiteMinder6.0. Our web server is Tomcat5 will Apache Web Agent provided by SiteMinder6.0 work with Tomcat5
connecting to timesten in web application
connecting to timesten in web application  Please give me the steps connecting to timesten in web application. Am using jsp
web application - WebSevices
web application  how to create a j2ee web application using java abstract class & interface
security
security  how we provide security to on line project. using security algorithum
Directory structure of a web application
Directory structure of a web application   Explain the directory structure of a web application.    The directory structure of a web application consists of two parts. A private directory called WEB-INF. A public
Web application - Spring
Web application  I need one simple complete web application example using springs with database connection,i saw ur demo but it is not succfient.can u send to raghavendra@oneapps.com.I am a beginner
WEB APPLICATION IN JSP
WEB APPLICATION IN JSP  Can you help me with a JSP code which can search and update existing data in mysql database
log4j in web application
log4j in web application  Hi all, I am new to log4j. I want to use log4j in my web application. I need to write the debug,info,warn into a file... and how to get the logger object in web application. Thanks suresh
java web application - Ant
tell me the steps to build and deploy a small web application on MyEclipse?(like... a directory structure for a Web application. a)Create a WEB-INF directory... deployment descriptor in the WEB-INF directory for the Web application. 5
Quartz in web-application
Quartz in web-application  As I am new to Quartz i don't know how to use it in web-application.I am able to run it in eclipse as a stand alone application i had tried out some example but am not able to succeed any help
Java web Application
Java web Application  Hi! I have developed a java web application project using netbean IDE with glassfish server. My question is how to create a runnable file from this. How can we make it to a single file? I think it is war
Web application - business layer
Web application - business layer   Design your business layer to be stateless, which helps to reduce resource contention and increase... with a stateless Web application business layer. If you perform business
what is the difference between distributed application and web application?
what is the difference between distributed application and web application?  what is the difference between distributed application and web application
Web Application Common Architecture
Web Application Common Architecture  Hi, Any one tell me, while project constructing , how they architect it which means using some layers and specify importance of layers. And also best way to follow program flow
servlet question on web application
servlet question on web application   how to write a programg on the web application. create two modules like admin and customer. customer can registrate with user id and password. after finishing of his registration he'll get
Web application - JSP-Servlet
Web application   Helo can you please help me in knowing how to use jsp/servlets which allows users to post question in a forum so that other users can also view the question and respond to it.For instance your application here
Security in Web Service
Security in Web Service   .... Make this web service secured using security mechanism of “Username... Application Deploy the project Make a Client Web project
Flex web application
Flex web application  Hi.... How can i develop web based applications in Flex? please give me the whole procedure so i can make web apps in flex..... Thanks
draw chart in web application
draw chart in web application  how to draw bar chat from the record store in database? i.e. draw the bar chart according to selected record
error in web application
error in web application  In your application when i am trying to execute it from the below page <%@ page language="java" import="java.util....; We are providing you another application. Check it. 1)application.jsp
php mysql web application tutorial
php mysql web application tutorial  How to create a simple php mysql web application? Please post an example or tutorial
Tutorials   
Java Spring Hibernate Struts Training encrypting clear text password in jboss 5.1 and higher version application over https Call Https Url esign filter for wifi router Hash-function: "weakly collision-free" and "strongly collision-free" How to Unlock Excel Password How To Unblock IP address from command line in CSF Firewall √Ę‚?¨‚?? Linux Server? BCMWLTRY.EXE error SSL for login page project Will i be able to get the content of a webpage in a word document (Note:i don t have access to the source code)through java code? Direct Access of PDF Delete Account What is JSS in Java? SQL Releted Quastion any body have any solutions? How to disable cut, copy, paste, rename, etc from the Windows Registry ? Security Fillters security filter development environment photo album Sample code for An ASCII Encryption and Decryption code in C-language only. how to turn off bluetooth on mac how to turn off bluetooth on mac Spring alternative to Form Based Login security jpcap_api Filters email archiving Windows File Protection network security analyzer SSL HttpsUrlConnection stegnography code Webapplication Security - Security Spring Struts2 Acegi - Security General - Security How to send request to the visa/master card to get verifed the credit card - Security applet security error - Security pls answer - Security session timeout - Security how to control program/thread 's access authority - Security josso - Security HACKING php session - Security password - Security coding problem using vb and access - Security cryptography - Security How to send request to the visa/master card to get verifed the credit card - Security Java - Security https popup msgs - Security

Ads

 
Advertisement null

Ads