Click here to Skip to main content
15,886,825 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
AnswerRe: Redirect URL problem Pin
Edbert P3-Sep-09 16:33
Edbert P3-Sep-09 16:33 
QuestionSetting x-microsoftajax: Delta=true header is giving http error 400 Pin
Ash_VCPP3-Sep-09 4:31
Ash_VCPP3-Sep-09 4:31 
AnswerRe: Setting x-microsoftajax: Delta=true header is giving http error 400 Pin
Abhishek Sur3-Sep-09 7:42
professionalAbhishek Sur3-Sep-09 7:42 
GeneralRe: Setting x-microsoftajax: Delta=true header is giving http error 400 Pin
Ash_VCPP3-Sep-09 21:35
Ash_VCPP3-Sep-09 21:35 
Question[Message Deleted] Pin
ToddHileHoffer3-Sep-09 3:06
ToddHileHoffer3-Sep-09 3:06 
AnswerRe: Entity Model Insert Pin
Not Active3-Sep-09 3:35
mentorNot Active3-Sep-09 3:35 
GeneralRe: Entity Model Insert Pin
ToddHileHoffer3-Sep-09 3:53
ToddHileHoffer3-Sep-09 3:53 
GeneralRe: Entity Model Insert Pin
ToddHileHoffer3-Sep-09 4:09
ToddHileHoffer3-Sep-09 4:09 
GeneralRe: Entity Model Insert Pin
Not Active3-Sep-09 4:46
mentorNot Active3-Sep-09 4:46 
GeneralRe: Entity Model Insert Pin
ToddHileHoffer3-Sep-09 4:51
ToddHileHoffer3-Sep-09 4:51 
GeneralRe: Entity Model Insert Pin
ToddHileHoffer3-Sep-09 4:52
ToddHileHoffer3-Sep-09 4:52 
GeneralRe: Entity Model Insert Pin
Edbert P3-Sep-09 16:46
Edbert P3-Sep-09 16:46 
GeneralRe: Entity Model Insert Pin
ToddHileHoffer4-Sep-09 3:48
ToddHileHoffer4-Sep-09 3:48 
QuestionDynamically populate dropdown dependent on another dropdown using SqlDataSource Pin
rikhav3-Sep-09 2:28
rikhav3-Sep-09 2:28 
AnswerRe: Dynamically populate dropdown dependent on another dropdown using SqlDataSource Pin
Arun Jacob3-Sep-09 2:35
Arun Jacob3-Sep-09 2:35 

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.