H
hoz
Hi , i am developing an asp.net application (c#). I have problem :
addfovarites.aspx is protected by web.config <deny users="?" /> and my
application name is FFF . let s say when user clicks a button on some.aspx
and url is
addfovarites.aspx?myfavo=324 . If user is not authenticated , it will be
redirected to login.aspx . Everything is fine up to here . But when I try
if ( Request["ReturnUrl"]!=null)
Response.Redirect(Request.QueryString["ReturnUrl"].ToString());
else Response.Redirect("home.aspx");
i t gives you
http://localhost/addfovarites.aspx?myfavo=324 here is where I come from ,
after login I get an error like below
Object reference not set to an instance of an object.
I cant understand
addfovarites.aspx is protected by web.config <deny users="?" /> and my
application name is FFF . let s say when user clicks a button on some.aspx
and url is
addfovarites.aspx?myfavo=324 . If user is not authenticated , it will be
redirected to login.aspx . Everything is fine up to here . But when I try
if ( Request["ReturnUrl"]!=null)
Response.Redirect(Request.QueryString["ReturnUrl"].ToString());
else Response.Redirect("home.aspx");
i t gives you
http://localhost/addfovarites.aspx?myfavo=324 here is where I come from ,
after login I get an error like below
Object reference not set to an instance of an object.
I cant understand