Last post Feb 02, 2009 08:54 AM by darkknight187
Feb 02, 2009 07:23 AM|arranbhoy|LINK
when i log in as admin and make the inactive ads active again, they are only active for about 30 mins or so on the site. How can I make them active for a long period?
Feb 02, 2009 08:54 AM|darkknight187|LINK
Your going to have to follow the path starting with Ads.aspx.vb to App_Code/BLL/Ads to App_Code/DAL/Ads.xsd and finally into the stored procedure.
When the code was written for whatever reason they forgot to add code to update the expirationDate.
So when you set as active, It updates the ad status, but not the expirationDate.
And when the hourly Maintenance Timer runs it catches the expired date and changes the status back to inactive.
Just update those four files with code to set a new expiration date.