Mobile Login Problem

T

Tan via .NET 247

Hello All
have one problem
<code>
if(IsAuthenticated(txtUsername.Text, txtPassword.Text))
{
FormsAuthentication.SetAuthCookie(txtPassword.Text, false);
MobileFormsAuthentication.RedirectFromLoginPage(txtUsername.Text,true);
}
</code>

but when i try make test of login in WinWAP 3.1 then i have catch error Redirection has occured on POST method.

in real mobile device i have many times redirection

thanks
 
W

Wiktor Zychla

Hello All
have one problem
<code>
if(IsAuthenticated(txtUsername.Text, txtPassword.Text))
{
FormsAuthentication.SetAuthCookie(txtPassword.Text, false);
MobileFormsAuthentication.RedirectFromLoginPage(txtUsername.Text,true);
}
</code>

but when i try make test of login in WinWAP 3.1 then i have catch error
Redirection has occured on POST method.

in real mobile device i have many times redirection

thanks

Forms Authentication uses cookies to store user credentials. In a WAP device
you cannot store cookies. I think then that you should think of some other
authentication scheme.

Wiktor Zychla
 

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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top