I have a website created in asp and I have been asked to create a new site, which over time will replace the current one, with a vb.net language. While the two sites coexist I need to pass data between the two sites such as delo login values. The login page is written in asp. From what I have been able to read, I can communicate with a querystring but I think it is too insecure. I have been trying to create a cookie on the asp site and then try to read it on the vb.net site and I can not read it and I do not know where the error is.
On the asp site I create the cookie like this:
Response.Cookies("nombre") = "Nombre"
Response.Cookies("contrasena") = "Contrasena"
On the site vb.net I try to read it like this:
Dim nombre= Request.Cookies("nombre").Value
nombre.text=nombre
Any idea why the cookie reading does not work or some other way to make the communication?