[Webinar] Streamline your web hosting managementRegister Today


about secure web

Posted on 1999-11-02
Medium Priority
Last Modified: 2013-12-25
hi everybody
  I have some questions about secure my web.
Does anybody explain me ahow to secure web ?
such as  when you log in at web and do nothing
for a peroid time when you   do something again it want you
to re-login again ,  or  when you log in and add bookmark some
page of that site and log out  how to force you to relogin before
go to page that url link to by use url.

please suggest me ,I'm very confusr about it so much!!!
Question by:wanlop

Accepted Solution

PiN earned 400 total points
ID: 2179256
Use server-side scripting (e.g. ASP or PHP3).

In that you have something called a Session-State.

Means that you can verfiy a content of a session-variable (e.g. a user name or anything). When the session expires the content will of that variable will be lost and you can redirect the user to whereever you want to..
Loging in is just as easy...set that variable when the login was successfull.

Anyway...the thing described above will require memory cookies on the client, but it is the easiest way to start.

The situation you describe will definetly require some sort of serverside logic. Wether it's done via cgi or one of the available serverside scripting languages is a different question.

If you describe your platform, I could perhaps provide you some example code.


Ps: It cannot be done in plain html, if that was the question.

Author Comment

ID: 2179347
thank you for you advice, I use linux platform , apache for
server and use PHP3 for server-side script.
please provide some sample code or some solution to do about
that you explain me.

I understand a little bit about you explain but I still don't know
how to do follow you explain.

thank you for you kind

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
The Super Bowl is just days away. Millions of advertising dollars will be spent in just a few hours to drive people to websites around the globe. Optimizing your site in anticipation of a big event like this (and the traffic surges that follow) will…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question