In a button click i transfer the user to form1 where HttpContext.Current.User.Identity.Name.ToString does not have a value on this page until a postback occurs, how do i simulate a postback in code behind?
Are you using Server.Transfer("url");? Method Transfer() will not bring user's credential while redirect page(do not have cookie).
Instead,you can use Response.Redirect("url");
Microsoft online ASP.NET support
Please remember to click Mark as Answer on the post that helps you. This can be beneficial to other community members reading the thread.