-1

My website stores the username of a user after they login (HttpCookie). The issue I am having is that some systems that use this Cookie do not work successfully when a user has logged in with lowercase letters for in username. Is there a way to change the output of that Cookie to all UPPERCASE?

p1nr
  • 23
  • 4

1 Answers1

0

Add .ToUpper() at the end of the "CookieName".Value

Example: "CookieName".Value = Cookie.Identity.Name.ToUpper();

p1nr
  • 23
  • 4