I think that the best for beginner is asp because microsoft give support. But the problem with asp You need to know the Vb language and C# language. I you know them it will be easy to you to make apsx web page. And you can even add you personnal classes.
I prefer php because make session variable is alot easier then asp.
In php you just use.
session_start();
//if the username exist in the session
if(isset($_SESSION['username']))
{
$username = $_SESSION['username'];
}
else
{
$username = "";
}
To check if the session exist.
But for ASP its alot harder 🙁
'Declare a variable
Dim username As String = ""
' Check if the username exist.
Foreach Keys in Session.Keys
If Keys.Equals('username')
' Check if the username is not empty
If username.Length > 0 Then
username = Session('username')
Else
username = ""
End If
Else
username = ""
End IF
Next
I take me more than 3 day to find that answer to check if the session was empty. and I didnt find an anwer on the web.
But I like asp but I prefer php because of Asp give me problem with the postback methods. I need to pratice more to masterise ASP and PHP.
Have a nice day 😃