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

ASP.NET

 
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 
AnswerRe: Form Authentication Pin
T.EDY29-Jul-07 18:30
T.EDY29-Jul-07 18:30 
u should use Session for the authorization..
1.In Page1 u allow anonymous user to access the pages
2.In the other page(Page2,Page3, and other page that need to login first) u have to insert a session check in code behind (*.aspx.cs) on event load

Example :

<br />
//in code behind<br />
if((Session["username"]==null) && (Session["password"]==null))<br />
{<br />
   Response.Redirect ("LoginPage.aspx"); //if user try to access pages without login it will redirect user to login page<br />
}


note : u must declare Session (Session["username"] and Session["password"]) in u'r login page

Example :

<br />
//in login page<br />
//if username and password == true<br />
Session["username"]==UsernameTextBox.Text;<br />
Session["password"]==PasswordTextBox.Text;<br />


Hope it can help

Regards,


Tomi
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 
AnswerRe: User authenitcation using a database Pin
Paul Conrad28-Jul-07 18:58
professionalPaul Conrad28-Jul-07 18:58 

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.