Hello,
I have a problem with updating db, i want to update some fields in the db on say some event.
for eg;
if the entry posted is one month old then the entry should be archived automatically.
where should i include the code to fetch above result.
if i put it in "session onstart" then it will fire every time a session starts. which will very costly affair.
i know the code but having difficulty in putting it in right place.
i mean when it should be triggered.
please help me.
Mohit Prabhu
I have a problem with updating db, i want to update some fields in the db on say some event.
for eg;
if the entry posted is one month old then the entry should be archived automatically.
where should i include the code to fetch above result.
if i put it in "session onstart" then it will fire every time a session starts. which will very costly affair.
i know the code but having difficulty in putting it in right place.
i mean when it should be triggered.
please help me.
Mohit Prabhu