c# - Is it a bad idea to maintain a separate login sessions in MySQL and Code Behind? -


i have application c# code behind, maintains session state , has value set timeout , redirect on session timeout logic in place.

additionally, have mysql requirement in going write triggers store information logged in users last modified each table.

so, seems easiest way provide triggers value logged application, copy c# session mysql session variable. variable might not expire @ same time c# session does, reset each time new person logs in.

do think there another/better solution?

when user logged in add informations of user in sql table.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -