Redirecting in the mobile framework

ASP.NET

    Sponsored Links

    Next

  • 1. How to write a program to send sms message
    How to write a program to send sms message, any resources? and is it free or send sms is open to public?
  • 2. Video over hand held devices in CE IE browser web page
    For viewing mpeg video files I'm using ASP.Net web pages and this works fine for a desktop IE browser. BUT, what I want to do is do the same thing using a hand held device in the CE browser. I've tried using the OBJECT tag below, but nothing shows up on the hand held device. Is there an equivalent OCX for the Hand Held devices? <OBJECT ID="Player" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" VIEWASTEXT> <PARAM name="autoStart" value="True"> <PARAM name="URL" value="SomeMediaFile.mpg"> <PARAM name="rate" value="1"> <PARAM name="balance" value="0"> <PARAM name="enabled" value="true"> <PARAM name="enabledContextMenu" value="true"> <PARAM name="fullScreen" value="false"> <PARAM name="playCount" value="1"> <PARAM name="volume" value="100"> </OBJECT> -- Chris Davoli
  • 3. Blackberry Development
    I am putting together a solution for one of my clients and would be grateful for any pointers you could give.. My client has a set of blackberries which do not contain an internet browser. They need the ability to receive and email from our web based application (fine) and reply with a specific response i.e. 'Yes' or 'No'. I am aware that this could be done with by ensuring the user includes this in the body / subject of the reply and our application parses the response however a more elegant solution is required. The requirement is to enable the user to choose an option in the email response i.e. 'Yes', 'No' - similar to a form. Our web application would need to pickup the flag that was set. Could you give me some pointers on the below: a.) What is the model number of Blackberry devices which do not contain a web browser? b.) Options for implementing the 'Yes' / 'No' functionality outlined above. Many thanks, Michael
  • 4. ASP.NET Popup Windows
    Need help with creating a popup windwo in ASP.NET when I load a page? This is what I have so far <SCRIPT language="javascript"> function OpenWindow() { var x = window.open('MRFilingStatus.aspx','FS','width=425,height=200,resizeable=yes,menubar=0,toolbar=0') x.focus } </SCRIPT> Then in my body tag I have "onload=OpenWindow" <body MS_POSITIONING="GridLayout" onload="OpenWindw" leftmargin="0" topmargin="0">

Redirecting in the mobile framework

Postby YW1uM3NpYQ » Fri, 21 Jul 2006 06:46:02 GMT

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 
Response.Redirect()?

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.MobileControls.MobilePage.LoadPageStateFromPersistenceMedium()
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?

Similar Threads:

1.Any language or Tools or framework for mobile development that is supported by all Mobile Platforms

Hi All,

I just want to know is there any language or Tools or framework  for mobile 
development that is supported by all Mobile Platforms (Windows Mobile,Linux 
,Palm ,Brew ,Symbian ,Blackberry ,iPhone)

Regards,
Pankaj Jain 


2.App Framework for Windows Mobile / Compact Framework

3.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#:

((Form) 
(this.parent.page.FindControl("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!

Thanks, 

Martin

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.

Regards,
Sathish Kuamr K


5.Redirecting to mobile page give an unwanted message.

6. Mobile Browser Redirects

7. cannot redirect to mobile page

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



Return to ASP.NET

 

Who is online

Users browsing this forum: No registered users and 10 guest