i have created a application ...when i give the URL of the second page the page is getting displayed...but i want all the user to enter the application only from the first page where it check whether the user is valid.... what should i do to make my application more secure
lydia21
9
Junior Poster
Recommended Answers
Jump to PostAdd sessions. If the user enters his username and password in the first page, add his username to the session(if he is a valid user). Then just add a condition,
if(! isset($_SESSION['username'])){ echo " You have to go back to page 1 and enter your username..."; exit …
All 4 Replies
nav33n
472
Purple hazed!
Team Colleague
Featured Poster
vssp
-5
Junior Poster
lydia21
9
Junior Poster
nav33n
472
Purple hazed!
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.