Professional Support

Get professional support quickly from the people who create and maintain 51Degrees.mobi.

Professional Support
How Much Faster is 51Degrees.mobi Framework?
Watch Speed Comparison Loading the same picture on the same mobile device, with the same network connection, over twice as fast.
Watch Video
Welcome to the 51Degrees.mobi online community. These forums offer the opportunity for you to discuss support topics with your peers and with members of the 51Degrees.mobi development team.
HomeHome51Degrees.mobi ...51Degrees.mobi ...51degrees.mobi ...51degrees.mobi ...Invalid value for Invalid value for 'encryptedTicket' parameter.
Previous
 
Next
New Post
7/14/2010 9:29 PM
 

After installing the browser detector httpmodule, I can no longer log into my website, it gives me the error:

Invalid value for 'encryptedTicket' parameter.

If I disable the module, I am able to log into my website normally.

Is there any way to workaround this problem?

 
New Post
7/16/2010 9:28 AM
 

Sonafabit,

Sorry for the delay. I am not quite sure if this is a cause from our source code. Anyways, I shall try simulate and check the cause of your error.
Can you please share your code?

Thanks,

Amaresh Jois

 
New Post
9/27/2010 2:54 PM
 

Updated to latest version hoping this was fixed but still have the same problem.

I've included the relevant code from the login page that is giving the error below. Unfortunately, I cannot give you the code for the User Manager because this is part of the CMS that I am using (Sitefinity). but the error is being thrown on the second line of the LoggedIn handler, because the first line is returning a blank cookie. the value is not NULL, but all the parameters are blank and default (for example, date is 1/1/0001).

I've sent a copy of this to Sitefinity for more information on what the UserManager is doing, but something is happening when the toolkit is enabled that is not returning a valid cookie.

please let me know if I can provide any more details

protected
void Page_Load(object sender, EventArgs e)
{
this.Login1.LoggedIn += new EventHandler(Login1_LoggedIn);
this.Login1.Authenticate += new AuthenticateEventHandler(Login1_Authenticate);
}

void Login1_Authenticate(object sender, AuthenticateEventArgs e)
{
e.Authenticated = UserManager.Default.ValidateUser(this.Login1.UserName, this.Login1.Password);
}

void Login1_LoggedIn(object sender, EventArgs e)
{
HttpCookie cookie = this.Response.Cookies[FormsAuthentication.FormsCookieName];
UserManager.Default.SetAuthenticationCookie(cookie);

string redirectUrl = Request.QueryString["ReturnUrl"];
this.Page.Response.Redirect(redirectUrl, true);
}

 
New Post
9/28/2010 7:32 AM
 

Thanks for the extra information. Can I ask some quick questions?

  1. Are you using the version we released on 26th September 2010? It's link is here.
  2. Can you visit http://51degrees.mobi/m/MoreInfo.aspx and send us the Http Headers that are provided? This will enable us to see what cookie data is being sent and determine if the issue relates to the mobile device or the web server.

We can then try and recreate here and let you know if we need more information.

Thank you for your question and support,

James

 
New Post
9/28/2010 4:31 PM
 

The version we are using is 1.10.4

this is the output from the page you linked above:

# Connection : keep-alive
# Keep-Alive : 115
# Accept : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
# Accept-Charset : ISO-8859-1,utf-8;q=0.7,*;q=0.7
# Accept-Encoding : gzip,deflate
# Accept-Language : en-us,en;q=0.5
# Cookie : .ASPXANONYMOUS=O9mJtbuVywEkAAAAYjQ3OGJkODAtYWQ5Mi00MDdkLThmMDktZDIwODJiNWEwZWJh0; AspxAutoDetectCookieSupport=1
# Host : 51degrees.mobi
# User-Agent : Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10

 
Previous
 
Next
HomeHome51Degrees.mobi ...51Degrees.mobi ...51degrees.mobi ...51degrees.mobi ...Invalid value for Invalid value for 'encryptedTicket' parameter.