Código ASP:
Ver original
Dim qs As TSHAK.Components.SecureQueryString qs = New TSHAK.Components.SecureQueryString(new byte[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 8}) qs("Nombre") = Request.Form("user") qs("Pass") = Request.Form("pas") Response.Redirect("index2.aspx?data=" + HttpUtility.UrlEncode(qs.ToString()))
Pero entonces me da el siguiente error:
Cita:
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.)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})
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})
No se porque me ocurre esto.
Un saludo