Redirecting to mobile page give an unwanted message.
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.aspnet.mobile.

Post a new message to this list...

iewhhos iewhhos
MobileFormsAuthentication.RedirectFromLoginPage give a message before
redirecting to the requested page

"the current page xxx.apsx has been moved to xxx.aspx, go to the new
location?"

how do i remove this message? RedirectToMobilePage give me the some
problem as well.

I'm using Nokia Mobile Browser 4.0
Please Help!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Reply to this message...
 
    
_thedebugger
Hi,
I guess, this is happening because of cookies. Sometime back in read some
article on msdn or somewhere, about this, when I encounter this same error.

I dont know about Nokia Mobile Browser 4.0 but your code will work for few
browsers, but on some browser it will fail just because of those browsers
redirect the url without saving the cookie. And the original request is goes
back to the authentication cookie.

Solution
MMIT provides some solution for this senario that you can use
System.Web.Mobile.MobileFormsAuthentication class. This class is in
System.Web.Mobile namespace.

MobileFormsAuthentication.RedirectFromLoginPage(uName, false);

Check it out. I tried to search again but without success.

Try out.

Sachin Korgaonkar

"iewhhos iewhhos" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 
System.Web.Mobile.MobileFormsAuthentication




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com