Solved

ASP Login system with MySQL

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

860 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