Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ASP Login system with MySQL

Posted on 2003-12-01
4
Medium Priority
?
1,014 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 200 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The viewer will learn how to dynamically set the form action using jQuery.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses

926 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