Click here to Skip to main content
15,922,574 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRepeater !!! Pin
Assaf8229-Jul-07 10:37
Assaf8229-Jul-07 10:37 
AnswerRe: Repeater !!! [modified] Pin
mohamed antar29-Jul-07 10:52
mohamed antar29-Jul-07 10:52 
QuestionRe: Repeater !!! Pin
Assaf8229-Jul-07 11:05
Assaf8229-Jul-07 11:05 
AnswerRe: Repeater !!! Pin
mohamed antar29-Jul-07 11:12
mohamed antar29-Jul-07 11:12 
AnswerRe: Repeater !!! Pin
Christian Graus29-Jul-07 11:47
protectorChristian Graus29-Jul-07 11:47 
QuestionForm Authentication [modified] Pin
ASPnoob29-Jul-07 10:27
ASPnoob29-Jul-07 10:27 
AnswerRe: Form Authentication Pin
mohamed antar29-Jul-07 11:04
mohamed antar29-Jul-07 11:04 
AnswerRe: Form Authentication Pin
Christian Graus29-Jul-07 13:28
protectorChristian Graus29-Jul-07 13:28 
Dunno what the other guy was talking about...

I'd create a base page class, which checks if the user is logged in, and, if not, redirects to the login page. You can elect to pass the calling page on the URL, so when they login, they get taken back to where they were, but you don't have to, for it to work.

Now, you have a base page which enforces login. Simply derive only pages that require login from this base page.

I hope you're not pulling any usernames or passwords from the database into your code ? You should check login by passing the username/password to the database and having it tell you true or false.


Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

AnswerRe: Form Authentication Pin
T.EDY29-Jul-07 18:30
T.EDY29-Jul-07 18:30 
QuestionASP Project Deployment Pin
EmbassyChikafahPhiri29-Jul-07 8:03
EmbassyChikafahPhiri29-Jul-07 8:03 
AnswerRe: ASP Project Deployment Pin
Paul Conrad29-Jul-07 8:18
professionalPaul Conrad29-Jul-07 8:18 
QuestionUsing FormView [modified] Pin
ksaw12329-Jul-07 3:17
ksaw12329-Jul-07 3:17 
AnswerRe: Using FormView Pin
T.EDY29-Jul-07 18:10
T.EDY29-Jul-07 18:10 
QuestionHow to upgrade Application Pool access? Pin
SalarSoft29-Jul-07 1:24
SalarSoft29-Jul-07 1:24 
AnswerRe: How to upgrade Application Pool access? Pin
SalarSoft29-Jul-07 19:29
SalarSoft29-Jul-07 19:29 
GeneralRe: How to upgrade Application Pool access? Pin
ballameharmurali29-Jul-07 20:35
ballameharmurali29-Jul-07 20:35 
QuestionParsing [modified] Pin
ksaw12329-Jul-07 0:30
ksaw12329-Jul-07 0:30 
AnswerRe: Parsing Pin
mr.mohsen29-Jul-07 1:50
mr.mohsen29-Jul-07 1:50 
QuestionGetting problem in FormView Control Pin
TSRK28-Jul-07 22:10
TSRK28-Jul-07 22:10 
AnswerRe: Getting problem in FormView Control Pin
mr.mohsen29-Jul-07 1:56
mr.mohsen29-Jul-07 1:56 
QuestionRepeater Pin
Assaf8228-Jul-07 21:34
Assaf8228-Jul-07 21:34 
AnswerRe: Repeater Pin
Vasudevan Deepak Kumar28-Jul-07 21:58
Vasudevan Deepak Kumar28-Jul-07 21:58 
QuestionRe: Repeater [modified] Pin
Assaf8228-Jul-07 22:17
Assaf8228-Jul-07 22:17 
AnswerRe: Repeater Pin
Christian Graus29-Jul-07 11:50
protectorChristian Graus29-Jul-07 11:50 
QuestionUser authenitcation using a database Pin
ASPnoob28-Jul-07 16:57
ASPnoob28-Jul-07 16:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.