error when insert breakpoint.

Posted by Abhi_patil under ASP.NET on 4/6/2009 | Views : 1755 | Status : [Member] | Replies : 1
in my project there is one master page,login page,logout page,also many more pages.
i have written javascript on master page 'onunload' that java script i tranfer to logout page.

but problem is when i executed normally it works fine. that means when page transfer comes in execution, no problems.
but when i insert break point on page load event of master page, and page tranfer comes ,then that javascript written for transfer to logout page is execute..i.e onunload event executed.

please give me any suggestion.


Posted by: Majith on: 4/6/2009 [Member] Starter


The Issue is not generated from the break point which you have used.

you have to clear the cookies and end the sessions and redirect to login page.


Response.Redirect("LoginPage.aspx", false);


Abhi_patil, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response