Mobile Browser Redirects


    Sponsored Links


  • 1. Error 500 using Motorola V600
    Hi, I'm testing an mobile app using some cell phones. It works fine with some models, but it sends me 'Error 500 - Internal Error' using Motorola V600. I got this error before in other cell phones because I didn't apply pagination in my mobile web form, but a get the same error using V600 with pagination. Any idea? Regards, Baccarin.
  • 2. Format of output
    THe output of a non-PDA ASP.Net application is a HTML file. What is the format of a mobile ASP.Net application ? Is it a text file ?
  • 3. Saving the browser output on the device
    Is it possible to save the output of the mobile application on the device , as a text file ?

Mobile Browser Redirects

Postby Cybersurfer » Tue, 20 Jun 2006 21:48:57 GMT

Hi All

I am creating both a WEB portal and a WAP portal. I want to redirect
mobile browsers to the WAP portal. I am using the <browserCaps> section
in the web.config file to check the user agent of the client App that is
requesting the page. This section of the configuration file is quite
large because of the numerous USER_AGENTS. The section of the
configuration file looks as follows

		<use var="HTTP_USER_AGENT" />
		<case match="AUDIOVOX">

but now for every single <case></case> statement I have to put in the
IsMobileDevice = "true". Is it possible to do it as follows i.e. if it
matches any of the listed USER AGENTS

		<use var="HTTP_USER_AGENT" />
<case match="AUDIOVOX" />
		<case match="MOT-MPX200" />
		<case match="Mitsu" />

I am just trying to make it easier for myself.


{*filter*}surfer's Profile:  http://www.**--****.com/ 
View this thread:  http://www.**--****.com/ 

Similar Threads: Mobile Forms authentication on Nokia Mobile Browser 4.0

Hi All

Ive written a portal mobile portal in that I want to secure to
only authenticated users. I am having great difficulty doing this, as
when I test in the nokia wap simulator 4.0 (most of the users will
have nokia browsers) I cant seem to store any state.

When I authenticate the user, NMB 4.0 doesnt reflect the persisted
information. THe web config file is set to not use cookies and the
state is persisted if I test it with a an actual nokia 6230(GPRS), the
open wave simulator and also normal IE browser. Any Help is

 (details of the authentication Im using is below):

Dim username As String = "RyanMalone"
        Dim strRole As String = AssignRoles(username)

        'The AddMinutes determines how long the user will be logged in
after leaving
        'the site if he doesn't log off.
        Dim fat As FormsAuthenticationTicket = New
FormsAuthenticationTicket(1, _
         username.ToString, DateTime.Now, _
         DateTime.Now.AddMinutes(1), False, strRole, _
HttpCookie(FormsAuthentication.FormsCookieName, _
        Session("Telco") = "Optus"

2.Problem Redirecting Mobile ASP pages

I currently have a mobile ASP page that uses and on load event to build part 
of the form and uses a custom control. I am after making my custom control 
such that when the user click on a button in it the browser is redirected to 
a differant page. 

normally I would do this using something like the following in C#:

("Form1"))).mobilepage.redirect("address", true);

However I have tried this and everything I can think of and I just can't get 
the page to redirect. I have had pages redirectiing when there is no code in 
the on load event. 

I have also tried using Page.Responce(), Server.Transfer. I even at one 
point tried using the session variables and passing redirect values back to 
that get executed by the parent forms on load method, although this didn't 
seem to work either. 

If anyone has any ideas they would be much appericated!



3.Redirecting in the mobile framework

I'm using custom authentication and when redirecting I was handling it like 
any other non-mobile web app I've done before. I was using 
Response.Redirect(). Now I've noticed that there is a 
MobilePage.RedirectToMobilePage() method. Should I be using this instead of 

I was receiving the following error in my app:
"The page requires session state that is no longer available. Either the 
session has expired, the client did not send a valid session cookie, or the 
session state history size is too small. Try increasing the history size or 
session expiry limit."

Stack trace: at 
System.Web.UI.MobileControls.MobilePage.OnViewStateExpire(EventArgs e)
at System.Web.UI.Page.LoadAllState()
at System.Web.UI.Page.ProcessRequestMain(Boolean 
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I'm checking the Session state in the OnInit event so they should be 
redirected before this point. Also I read in the documentation for 
Response.Redirect() that in cookieless forms using the ~/ for the application 
root can cause new Sessions to be created which I was also doing. Do you 
think either or both of these could be the cause of my problem?

4.Redirecting Mobile Page to a different page and come back

Hi All,

We have a requirement that when a user comes to a particular web page from 
mobile, we have to redirect the user to some other page showing some other 
content after some specified time say 20-30 seconds come back to the 
original page requested.

Is that possible.

We tried to use the timer class. Could anyone provide code samples.

We are using ASP.NET 1.1 Mobile Pages in our Web application.

Thanks for your help and efforts.

Sathish Kuamr K

5.Redirecting to mobile page give an unwanted message.

6. Basic Q - Response.Redirect, all redirect to first Response.Redirect statement

7. cannot redirect to mobile page

8. Response.Redirect from within a user control affects browser h

Return to ASP.NET


Who is online

Users browsing this forum: No registered users and 58 guest