asp.net - ReturnUrl from mobile Login page not working -


i have .net forms authentication rolemanager type webwsite login page, login.aspx.

<authentication mode="forms">   <forms name="login" loginurl="login.aspx" protection="all" timeout="7200" path="/"/> </authentication>  login.aspx redirect: response.redirect("mobilelogin.aspx?returnurl=" + request.querystring("returnurl")) 

if user accesses page through mobile device, redirect them mobilelogin.aspx., when login mobile device mobilelogin.aspx, doesn't take user returnurl saying...

for example works, redirecting /admin/ folder

http://mysite.com/login.aspx?returnurl=%2fadmin%2f 

this not work, redirects home page after logging in,

http://mysite.com/mobilelogin.aspx?returnurl=%2fadmin%2f 

how can redirect mobile?


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -