Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Mobile / July 2004

Tip: Looking for answers? Try searching our database.

Redirecting to mobile page give an unwanted message.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
iewhhos iewhhos - 15 Jul 2004 18:04 GMT
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!
_thedebugger - 21 Jul 2004 15:46 GMT
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

> MobileFormsAuthentication.RedirectFromLoginPage give a message before
> redirecting to the requested page
[quoted text clipped - 7 lines]
> I'm using Nokia Mobile Browser 4.0
> Please Help!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.