![]() |
Sergey Kornilov admin 7/5/2011 |
You can use AfterApplicationInitialized event to override connection parameters. $today = getdate(); |
P
|
paulirvine author 7/5/2011 |
You can use AfterApplicationInitialized event to override connection parameters. Here is the sample code that points database connection to alternative database on Fridays: $today = getdate();
|
![]() |
Sergey Kornilov admin 7/5/2011 |
You can use any business logic in this event using logged user id. The very first time this event is executed user is not logged in yet. You can check if $_SESSION["UserID"] variable is populated. Is this variable is populated - user logged in. |
P
|
paulirvine author 7/5/2011 |
You can use any business logic in this event using logged user id. The very first time this event is executed user is not logged in yet. You can check if $_SESSION["UserID"] variable is populated. Is this variable is populated - user logged in.
|