can not re-direct to mobile page..


C

Carlos

To whom it may concern,

when I browse to my home page from my Pocket PC
(AT&T tilt using Windows Mobile 6.0)
I do not get re-directed to my mobile page.

I wonder if the browsecaps section is not well maintained..?
According to msdn
(http://msdn2.microsoft.com/en-us/library/fhhycabe(VS.71).aspx)
I use this code, but it does not work..

public void Page_Load(Object sender, EventArgs e)
{
if (Request.Browser["IsMobileDevice"] == "true" )
{
Response.Redirect("MobileDefault.aspx");
}
else
{
Response.Redirect("Default.aspx");
}

}

Thanks in advance,

Carlos.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top