Author: Pmillio | Posted on: 3/15/2009 10:09:18 AM | Views : 292

Hi i want users to be able to go back to the referring page when they login, however i cannot get this to work, i tried this but nothing happens, the user does not even get logged in;

 Response.Redirect(FormsAuthentication.GetRedirectUrl(intUserID, true));

 

And in my web config;
<authentication mode="Forms">
<forms name="AuthCookie" loginUrl="login.aspx" protection="All" timeout="30">
</forms>
</authentication>
<authorization>
< Go to the complete details ...