Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

How to access the inner page of a url?

$
0
0

hi all, here i have a url that is to access.

http://wappi.example.com/myaccount/account.logs

and here is the main index page for login

http://wappi.example.com/myaccount/login

and here in the following is my asp.net simple login page.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="FirstTutorial.login" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><title></title></head><body><form id="form1" runat="server" action="http://wappi.example.com/myaccount/account.logs" method="post"><input id="username" runat="server" type="text" value="" name="username"/><input id="password" runat="server" type="password" value="" name="password"/><asp:Button ID="submit" runat="server" type="submit" value="Login" Text="Submit" /></form></body></html>


but this guided me towards the following url.

http://wappi.example.com/myaccount/login

instead of the wanted url which is given above.

please help me in this regard.


Viewing all articles
Browse latest Browse all 23244

Trending Articles