Click here to Skip to main content
15,901,284 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: GridView Pin
tagyurit3-Sep-09 15:55
tagyurit3-Sep-09 15:55 
Questiontable lines Pin
hasani20073-Sep-09 13:50
hasani20073-Sep-09 13:50 
AnswerRe: table lines Pin
Arun Jacob3-Sep-09 18:29
Arun Jacob3-Sep-09 18:29 
AnswerRe: table lines Pin
Abhijit Jana3-Sep-09 18:48
professionalAbhijit Jana3-Sep-09 18:48 
Questionsimple emails.... Pin
greendragons3-Sep-09 11:32
greendragons3-Sep-09 11:32 
AnswerRe: simple emails.... Pin
Abhishek Sur3-Sep-09 11:35
professionalAbhishek Sur3-Sep-09 11:35 
GeneralRe: simple emails.... Pin
greendragons3-Sep-09 11:43
greendragons3-Sep-09 11:43 
GeneralRe: simple emails.... Pin
greendragons3-Sep-09 11:53
greendragons3-Sep-09 11:53 
NewsRe: simple emails.... Pin
Abhishek Sur3-Sep-09 13:17
professionalAbhishek Sur3-Sep-09 13:17 
Questionneed help creating web application Pin
solo_gaurav3-Sep-09 10:57
solo_gaurav3-Sep-09 10:57 
AnswerRe: need help creating web application Pin
Blue_Boy3-Sep-09 11:07
Blue_Boy3-Sep-09 11:07 
QuestionDebugging dynamically loaded controls Pin
Guillermo Jimenez3-Sep-09 10:44
Guillermo Jimenez3-Sep-09 10:44 
AnswerRe: Debugging dynamically loaded controls Pin
Abhishek Sur3-Sep-09 11:33
professionalAbhishek Sur3-Sep-09 11:33 
Questionasp.net ajax updatepanel progress Pin
Shahdat Hosain3-Sep-09 9:55
Shahdat Hosain3-Sep-09 9:55 
AnswerRe: asp.net ajax updatepanel progress Pin
Abhijit Jana3-Sep-09 19:38
professionalAbhijit Jana3-Sep-09 19:38 
QuestionEdraw Viewer component Pin
dptalt3-Sep-09 8:01
dptalt3-Sep-09 8:01 
QuestionHow to insert/update a row/cell in datagrid? Pin
skhan173-Sep-09 7:32
skhan173-Sep-09 7:32 
AnswerRe: How to insert/update a row/cell in datagrid? Pin
Not Active3-Sep-09 7:47
mentorNot Active3-Sep-09 7:47 
GeneralRe: How to insert/update a row/cell in datagrid? Pin
skhan173-Sep-09 9:16
skhan173-Sep-09 9:16 
GeneralRe: How to insert/update a row/cell in datagrid? Pin
Not Active3-Sep-09 9:44
mentorNot Active3-Sep-09 9:44 
GeneralRe: How to insert/update a row/cell in datagrid? Pin
skhan173-Sep-09 9:49
skhan173-Sep-09 9:49 
GeneralRe: How to insert/update a row/cell in datagrid? Pin
Not Active3-Sep-09 10:10
mentorNot Active3-Sep-09 10:10 
QuestionRedirect URL problem Pin
zeeShan anSari3-Sep-09 7:10
zeeShan anSari3-Sep-09 7:10 
hi all ,

this my codebehind on login button click

FormsAuthentication.Initialize();                FormsAuthenticationTicket ObjTicket = new FormsAuthenticationTicket(1, txtLoginId.Text, DateTime.Now, DateTime.Now.AddMinutes(60), false, txtLoginId.Text + "," + txtPassword.Text, FormsAuthentication.FormsCookiePath);                string encTicket = FormsAuthentication.Encrypt(ObjTicket);                string sLoginId = txtLoginId.Text;                sLoginId = sLoginId.Replace(" ", "");                                                              Response.Cookies.Add(new HttpCookie(FormsAuthentication.FormsCookieName, encTicket));                           Response.Redirect(FormsAuthentication.GetRedirectUrl(txtLoginId.Text, false)+"?id="+txtLoginId.Text);


and this is web config code


<authentication mode="Forms">			<forms defaultUrl="~/PresentationLayer/Forms/Main.aspx" loginUrl="~/Default.aspx" >			</forms>      		</authentication>



above code well working on local host .......but on live host
"~/" append with url
for example i want
www.abc.com/abc/PresentationLayer/Forms/Main.aspx
but i get
www.abc.com/abc/~/PresentationLayer/Forms/Main.aspx

can anybody tell me that where is problem
AnswerRe: Redirect URL problem Pin
Abhishek Sur3-Sep-09 9:28
professionalAbhishek Sur3-Sep-09 9:28 
GeneralRe: Redirect URL problem Pin
zeeShan anSari3-Sep-09 11:10
zeeShan anSari3-Sep-09 11:10 

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.