Securing Session Cookies in .NET

|
| By Webner

Session security stands as a critical component of web application development. Within ASP.NET and ASP.NET Core frameworks, session cookies play a vital role in tracking authenticated users. Without proper security measures, these cookies become prime targets for malicious actors seeking

Moodle | New Database table not getting created

| By Webner

In Moodle, we were creating a new table for our custom plugin in db/install.xml file. Install.xml file : <TABLES> <TABLE NAME=”test_student” COMMENT=”Student details.”> <FIELDS> <FIELD NAME=”id” TYPE=”int” LENGTH=”10″ NOTNULL=”true” SEQUENCE=”true”/> <FIELD NAME=”user_name” TYPE=”text” NOTNULL=”true”  SEQUENCE=”false”/> <FIELD NAME=”userid” TYPE=”int” LENGTH=”10″ NOTNULL=”true”