Click here to Skip to main content
15,910,009 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP.NET - Create a questionnaire/test on the fly. Pin
pmarfleet12-Jan-09 9:45
pmarfleet12-Jan-09 9:45 
GeneralRe: ASP.NET - Create a questionnaire/test on the fly. Pin
SmartSpider12-Jan-09 10:25
SmartSpider12-Jan-09 10:25 
GeneralRe: ASP.NET - Create a questionnaire/test on the fly. Pin
pmarfleet12-Jan-09 11:35
pmarfleet12-Jan-09 11:35 
GeneralRe: ASP.NET - Create a questionnaire/test on the fly. Pin
SmartSpider12-Jan-09 17:41
SmartSpider12-Jan-09 17:41 
QuestionRe: ASP.NET - Create a questionnaire/test on the fly. Pin
SmartSpider20-Jan-09 9:13
SmartSpider20-Jan-09 9:13 
AnswerRe: ASP.NET - Create a questionnaire/test on the fly. Pin
pmarfleet20-Jan-09 11:09
pmarfleet20-Jan-09 11:09 
GeneralRe: ASP.NET - Create a questionnaire/test on the fly. Pin
SmartSpider20-Jan-09 11:44
SmartSpider20-Jan-09 11:44 
QuestionFormsAuthentication Failing in IE6 Pin
Robymon12-Jan-09 6:44
Robymon12-Jan-09 6:44 
when trying to login from Logon page it is loging and going to master page and in the Master page different hyperlinks, when i click on any link it is redirected to Logon page.

Login Page btnlogin click code

if (DatabaseLayer.AdminDAO.UserExists(txtUserName.Text, txtPassword.Text))
{
FormsAuthentication.SetAuthCookie(txtUserName.Text, false);
Server.Transfer("~/Admin/Presentation Layer/MainPage.aspx");

}
else
{
Page page = HttpContext.Current.Handler as Page;

if (page != null)
{
page.ClientScript.RegisterStartupScript(page.GetType(), "msgbox", "alert('Sorry ! Your Login Failed');", true);
}
}


Web.config Code

<authentication mode="Forms">
<forms name="appNameAuth" path="./Admin/" loginurl="./Admin/Admin.aspx" protection="All" timeout="30">


<authorization>
<deny users="?" >
<authorization>

Main Page One Hyper Link

<asp:hyperlink id="HyperLink15" runat="server" navigateurl="~/Admin/Presentation Layer/News.aspx" xmlns:asp="#unknown">News



While clicking any of the Hyper Links it is redirecting to Logon Page.
Questionsession Expire Pin
mohit_p2212-Jan-09 5:49
mohit_p2212-Jan-09 5:49 
AnswerRe: session Expire Pin
Not Active12-Jan-09 5:53
mentorNot Active12-Jan-09 5:53 
AnswerRe: session Expire Pin
Colin Angus Mackay12-Jan-09 11:20
Colin Angus Mackay12-Jan-09 11:20 
QuestionError while exporting PPT 2007 on Windows 2008 using ASP.NET Pin
Jadhav Ajay12-Jan-09 5:02
professionalJadhav Ajay12-Jan-09 5:02 
AnswerRe: Error while exporting PPT 2007 on Windows 2008 using ASP.NET Pin
Paddy Boyd12-Jan-09 5:26
Paddy Boyd12-Jan-09 5:26 
GeneralRe: Error while exporting PPT 2007 on Windows 2008 using ASP.NET Pin
Jadhav Ajay12-Jan-09 5:32
professionalJadhav Ajay12-Jan-09 5:32 
QuestionApp showing inbox for wrong user Pin
marky77712-Jan-09 3:39
marky77712-Jan-09 3:39 
AnswerRe: App showing inbox for wrong user Pin
Abhijit Jana12-Jan-09 3:56
professionalAbhijit Jana12-Jan-09 3:56 
GeneralRe: App showing inbox for wrong user Pin
marky77712-Jan-09 4:03
marky77712-Jan-09 4:03 
AnswerRe: App showing inbox for wrong user Pin
Paddy Boyd12-Jan-09 5:27
Paddy Boyd12-Jan-09 5:27 
QuestionAsp.net with vb.net using wizard control Pin
naseer_8412-Jan-09 1:48
naseer_8412-Jan-09 1:48 
Questionhow to handle validation control manually? Pin
mr_muskurahat12-Jan-09 1:30
mr_muskurahat12-Jan-09 1:30 
AnswerRe: how to handle validation control manually? Pin
Rajdev Ramasamy12-Jan-09 2:39
Rajdev Ramasamy12-Jan-09 2:39 
Questionupdateing web.config Pin
rajkumar.312-Jan-09 1:13
rajkumar.312-Jan-09 1:13 
AnswerRe: updateing web.config Pin
Vimalsoft(Pty) Ltd12-Jan-09 1:19
professionalVimalsoft(Pty) Ltd12-Jan-09 1:19 
Generalre: update Pin
rajkumar.312-Jan-09 1:30
rajkumar.312-Jan-09 1:30 
GeneralRe: dont be smart Vuyiswa Maseko Pin
Abhijit Jana12-Jan-09 1:36
professionalAbhijit Jana12-Jan-09 1:36 

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.