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.
(details of the authentication Im using is below):
Dim username As String = "RyanMalone"
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, _
Response.Cookies.Add(New HttpCookie(FormsAuthentication.FormsCookieName, _
Session("Telco") = "Optus"