Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > ASp.net Mobile Forms authentication on Nokia Mobile Browser 4.0

Reply
Thread Tools

ASp.net Mobile Forms authentication on Nokia Mobile Browser 4.0

 
 
Ryan Malone
Guest
Posts: n/a
 
      08-23-2004
Hi All

Ive written a portal mobile portal in vb.net 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
appreciated.

(details of the authentication Im using is below):

Dim username As String = "RyanMalone"
FormsAuthentication.Initialize()
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, _
FormsAuthentication.FormsCookiePath)
Response.Cookies.Add(New
HttpCookie(FormsAuthentication.FormsCookieName, _
FormsAuthentication.Encrypt(fat)))
Session("Telco") = "Optus"
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iPhone4,iPhone3,Ipad,Apple Mobile,Blackberry Mobile,HTC Mobile,LGMobile,Motorola Mobile,Nokia Mobile,Samsung Mobile chen selina C++ 0 07-13-2010 08:53 AM
Aoatrade.com Unlocked Nokia N97,nokia n97 mini,Nokia N8,Nokia N900 chen selina C++ 0 07-06-2010 01:35 PM
Aoatrade.com Unlocked Nokia N97,nokia n97 mini,Nokia N8,Nokia N900 chen selina C++ 0 07-05-2010 06:41 AM



Advertisments