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.
 

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

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top