Click here to Skip to main content
16,014,392 members

Comments by kennytan_ph (Top 8 by date)

kennytan_ph 4-Dec-11 8:37am View    
try using a view
kennytan_ph 5-Oct-11 8:59am View    
I would like to add the following check so that the session variable will not keep on resetting every time a call is made.

//declare a new session variable
if (Session["lastrequest"] == null)
Session[ "lastrequest" ] = DateTime.Now;
kennytan_ph 5-Oct-11 8:49am View    
sorry, it's not clear enough to me what you want to do.
kennytan_ph 5-Oct-11 8:33am View    
don't you think he tried?
kennytan_ph 5-Oct-11 7:46am View    
It would be helpful if you can provide the complete page code.

Also, querying the database every half-second will cause considerable performance issue.