Solved

ASP Login system with MySQL

Posted on 2003-12-01
4
1,010 Views
Last Modified: 2012-06-27
1) I do wish to create a ASP Login, Verification, Logoff, Display database information page via MySQL support. I tried but then I did not succesfully do the secure pages which when I click the backward button, all information still there even I have logged off from the system.
Please kindly attach some sample of the pages for references.

2) Under your own opinion, which format of languages do you think is better between the ASP and PHP for the secured login and logoff system.

Thank you so much!
0
Comment
Question by:yung00
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 1

Accepted Solution

by:
tommoran earned 50 total points
ID: 9857554
Use a session object to set the user's permission level, then just request the session object on each page.  Here is an example.

http://www.4guysfromrolla.com/webtech/authentication.shtml

Good luck
0
 
LVL 1

Expert Comment

by:perfectshark
ID: 9859546
ok, what can we do here?

Let me tell you that I use ASP, so i can´t tell you nothing about PHP, but, if i´d had to do that, i´ll do the following:

1. I´ll put these meta tags in the head section to make the pages load every time instead of putting it in cache:

<head>
  <meta http-equiv="Expires" CONTENT="0">
  <meta http-equiv="Cache-Control" CONTENT="no-cache">
  <meta http-equiv="Pragma" CONTENT="no-cache">
</head>

2. Make a redirect page in the middle of the log off process, (just like in hotmail), when people press log out, direct them to a page. set the session vars to nothing and then redirect to the successfull log out page, these will help in some way.

then, when people press the back button, tha page will see that the session var is nothing and will send them to the login page.

that should work.

:-)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

695 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