.NETGURU
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




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification