Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
ASP.NET

Conditional Statements in Classic ASP

Branch with If…Then…Else and Select Case.

Conditional Statements in Classic ASP — a practical guide to Classic ASP If Select Case with clear examples you can reuse in real projects.

ASP & ASP.NET Tutorial Series (11/247). Prefer one article? Read the complete ASP.NET tutorial.

Short description

End If / End Select close blocks.

If

If role = "admin" Then
  Response.Write "Welcome admin"
Else
  Response.Write "Welcome user"
End If