Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 04-10-2005, 11:05 PM   #1 (permalink)
awieds
Registered User
 
Join Date: Mar 2005
Posts: 42
awieds is on a distinguished road
Password Protect ASP Page

I am creating a website. I'd like to create an asp page where the user can type in text and I can then fill the database which is where the site text is coming from.
However obviously I do not want anybody to access the page except individuals who are allowed to change the text. So I'd like to create a password protected page. How can I do this? Can someone please direct me?
Thanks
awieds is offline   Reply With Quote
Old 04-19-2005, 12:28 PM   #2 (permalink)
AlexB1234
Registered User
 
Join Date: Apr 2005
Posts: 7
AlexB1234 is on a distinguished road
The jist of the process is:

Check if they've been authenticated, i.e. have they logged in? You can store that in the Session("HasLoggedIn") object among other places. If they have , otherwise redirect them to the log in page. You can set Session("HasLoggedIn") in after authenticating them in the log in page.

Good luck
AlexB1234 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking a flag in Opened ASP.net page Continously ! mechtech MS Technologies ( ASP, VB, C#, .NET ) 1 04-19-2005 12:37 PM
Access denied for user: '@192.168.0.71' (Using password: NO) infinite_root PHP 11 04-28-2004 05:30 PM


All times are GMT -8. The time now is 08:54 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting