I have a web form and a class called Base. In the Base class, I have a method that checks whether or not the user is logged in, and if the user is logged in, he or she is redirected to a certain page. I want to run this method in the Page_Load method of the web form, but there is a problem: I am not able to use the Response.Redirect expression in the Base class... why not? (the class is already inheriting System.Web.UI.Page)
shaqtus
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.