ciao,
ho una pagina con il login funziona tutto ok vorrei però passare il nomeutente cioè dare il benvenuto personalizzato tipo:

Salve, Piero ...

questo è lo script per il login:

Codice PHP:
<%
Dim nome_ut
Dim pass
nome_ut 
Replace(Request.Form("nome_utente"), "'""''")
pass Replace(Request.Form("password"), "'""''")%>


<%
Dim sql
sql 
"SELECT ID FROM Utenti WHERE conferma=true and NOMEUTENTE='" &nome_ut&_
       
"' AND PASSWORD='" &pass"'"
Dim rs
Set rs 
objConn.Execute(sql)

Dim autenticato
if rs.eof then
  autenticato 
false
else
  
autenticato true
end 
if
rs.Close
objConn
.Close
Set rs 
Nothing
Set objConn 
Nothing

if autenticato true then
  Session
("Autenticato") = "OK"
          
        
url=request.serverVariables("URL")
        if 
request.serverVariables("HTTP_REFERER")<>"" then url=url "?" request.serverVariables("HTTP_REFERER")
        
"error_login"
        
testo url
        
if inStr(testo,t) > 0 then
            Response
.Redirect("index.asp")
        else
              
Response.Redirect request.serverVariables("HTTP_REFERER")
          
end if
        
        
        
else
  
Response.Redirect("error_login.asp")
end if
%> 
avevo pensato di fare una cosa del genere:
Codice PHP:
Response.Redirect request.serverVariables("HTTP_REFERER&utente="&rs("nomeutente")&""
però non mi funge .. qualche altra soluzione? :master: