Solved

ASP Login system with MySQL

Posted on 2003-12-01
4
1,002 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
4 Comments
 
LVL 1

Accepted Solution

by:
tommoran earned 50 total points
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

772 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now