After activation redirect

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
crash
User
Posts: 151

After activation redirect

Post by crash »

I'm trying to get a page to redirect after activation. This is my code but it does not redirect.
It even blocks my registration..
What's wrong with this code

Any help please.

// User Activated event
public void User_Activated(Dictionary<string, object> rs) {
    //Log("User_Activated");

Response.Redirect("http://www.xxx.xx/")
    
}

MichaelG
User
Posts: 1110

Post by MichaelG »

It should be something like:

ActionResult = Controller.Redirect("<url>"); // Replace <url> with actual URL


Post Reply