Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/01/2012, 16:56
Avatar de Heent
Heent
 
Fecha de Ingreso: diciembre-2008
Mensajes: 140
Antigüedad: 15 años, 4 meses
Puntos: 6
Pregunta Error al usar TSHAK.Components

Bueno mi problema es al intentar usar TSHAK.Components. Esto es todo el código de mi página:

Código ASP:
Ver original
  1. Dim qs As TSHAK.Components.SecureQueryString
  2. qs = New TSHAK.Components.SecureQueryString(new byte[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 8})
  3. qs("Nombre") = Request.Form("user")
  4. qs("Pass") = Request.Form("pas")
  5. Response.Redirect("index2.aspx?data=" + HttpUtility.UrlEncode(qs.ToString()))

Pero entonces me da el siguiente error:

Cita:
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30203: Identifier expected.

Source Error:
Line 16: Dim qs As TSHAK.Components.SecureQueryString
Line 17: qs = New TSHAK.Components.SecureQueryString(new byte[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 8})
y me marca los corchetes del byte[] (error BC30203: Identifier expected) y el último paréntesis 4, 5, 8}) (error BC32017: Comma, ')', or a valid expression continuation expected.)

No se porque me ocurre esto.

Un saludo