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

ASP.NET

 
GeneralRe: ASP.NET 2.0 App Crashes Pin
Paddy Boyd13-Jan-09 1:22
Paddy Boyd13-Jan-09 1:22 
AnswerRe: ASP.NET 2.0 App Crashes Pin
Reza Raad13-Jan-09 1:50
Reza Raad13-Jan-09 1:50 
GeneralRe: ASP.NET 2.0 App Crashes Pin
tadhg8813-Jan-09 2:13
tadhg8813-Jan-09 2:13 
GeneralRe: ASP.NET 2.0 App Crashes Pin
tadhg8814-Jan-09 6:34
tadhg8814-Jan-09 6:34 
AnswerMonitor .NET CLR Memory Pin
David Mujica13-Jan-09 3:11
David Mujica13-Jan-09 3:11 
Questionmsn taskbar window in asp.NET Pin
chanzeb12-Jan-09 23:43
chanzeb12-Jan-09 23:43 
AnswerRe: msn taskbar window in asp.NET Pin
mr_muskurahat13-Jan-09 1:14
mr_muskurahat13-Jan-09 1:14 
QuestionFormsAuthentication Fails in IE6 Pin
Robymon12-Jan-09 22:48
Robymon12-Jan-09 22:48 
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.

<b>Login Page btnlogin click code</b>

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);
}
}


<b>Web.config Code</b>

<authentication mode="Forms">
<forms name="appNameAuth" path="./Admin/" loginurl="./Admin/Admin.aspx" protection="All" timeout="30">
</forms>
</authentication>
&lt;authorization&gt;
&lt;deny users="?" &gt;
&lt;authorization&gt;

<b>Main Page One Hyper Link</b>

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


While clicking any of the Hyper Links it is redirecting to Logon Page.
QuestionMVC Pin
NidhiKanu12-Jan-09 22:25
professionalNidhiKanu12-Jan-09 22:25 
AnswerRe: MVC Pin
SeMartens12-Jan-09 22:59
SeMartens12-Jan-09 22:59 
GeneralRe: MVC Pin
NidhiKanu12-Jan-09 23:11
professionalNidhiKanu12-Jan-09 23:11 
GeneralRe: MVC Pin
N a v a n e e t h12-Jan-09 23:29
N a v a n e e t h12-Jan-09 23:29 
GeneralRe: MVC Pin
NidhiKanu12-Jan-09 23:43
professionalNidhiKanu12-Jan-09 23:43 
GeneralRe: MVC Pin
SeMartens12-Jan-09 23:59
SeMartens12-Jan-09 23:59 
Questionproblem in uploading image Pin
sajjadlashari12-Jan-09 22:19
sajjadlashari12-Jan-09 22:19 
AnswerRe: problem in uploading image Pin
Rutvik Dave13-Jan-09 4:37
professionalRutvik Dave13-Jan-09 4:37 
Questionneed coding for login page checks user name and password from database table Pin
Jas 00712-Jan-09 22:14
Jas 00712-Jan-09 22:14 
AnswerRe: need coding for login page checks user name and password from database table Pin
NidhiKanu12-Jan-09 22:20
professionalNidhiKanu12-Jan-09 22:20 
GeneralRe: need coding for login page checks user name and password from database table Pin
Jas 00712-Jan-09 22:25
Jas 00712-Jan-09 22:25 
GeneralRe: need coding for login page checks user name and password from database table Pin
NidhiKanu12-Jan-09 22:28
professionalNidhiKanu12-Jan-09 22:28 
AnswerRe: need coding for login page checks user name and password from database table Pin
Abhijit Jana13-Jan-09 0:31
professionalAbhijit Jana13-Jan-09 0:31 
QuestionAdd a web form to a tab control Pin
TerRO_GirL12-Jan-09 22:10
TerRO_GirL12-Jan-09 22:10 
AnswerRe: Add a web form to a tab control Pin
mr_muskurahat13-Jan-09 0:46
mr_muskurahat13-Jan-09 0:46 
QuestionDestroy Variables Pin
Shivan Nandan12-Jan-09 21:42
Shivan Nandan12-Jan-09 21:42 
AnswerRe: Destroy Variables Pin
Nishant Singh12-Jan-09 22:23
Nishant Singh12-Jan-09 22:23 

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.