Solved

ASP Login system with MySQL

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Read about why website design really matters in today's demanding market.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
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…
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).

863 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

20 Experts available now in Live!

Get 1:1 Help Now