Hi i have this code to access to a particular webpage passing a paramiter but
i'm not able to set session attribute to make some activity in the rerirected page.
can you help me? there is another way to do a call to a specific page passing paramiters?
regards Paolo
i'm not able to set session attribute to make some activity in the rerirected page.
can you help me? there is another way to do a call to a specific page passing paramiters?
regards Paolo
B4X:
Sub Handle(req As ServletRequest, resp As ServletResponse)
Dim idsolar As Int
req.GetSession.setAttribute("IdSolar",Null)
idsolar = req.GetParameter("idsolar")
If idsolar = 100 Then
Dim url As String
url = "/impianto/index.html"
resp.SendRedirect (url)
End If
End Sub