Click here to Skip to main content
15,889,992 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSetting up multiple asp.net websites under a single solution? Pin
Goalie3524-Feb-10 10:15
Goalie3524-Feb-10 10:15 
QuestionGet Session in Ashx handler in MVC asp.NET application Pin
Sandeep Akhare24-Feb-10 9:44
Sandeep Akhare24-Feb-10 9:44 
QuestionAJAX ScriptManager.EnablePartialRendering does not seem to work? [modified] Pin
mhp13024-Feb-10 9:29
mhp13024-Feb-10 9:29 
QuestionHow to Save a webpage in to PDF in dotnet1.1 Pin
K.Safvi24-Feb-10 6:44
K.Safvi24-Feb-10 6:44 
AnswerRe: How to Save a webpage in to PDF in dotnet1.1 Pin
Pranay Rana24-Feb-10 17:41
professionalPranay Rana24-Feb-10 17:41 
Questionhow to find the login time and logout time using triggers in sql server2005 Pin
developerit24-Feb-10 6:40
developerit24-Feb-10 6:40 
AnswerRe: how to find the login time and logout time using triggers in sql server2005 Pin
Not Active24-Feb-10 8:55
mentorNot Active24-Feb-10 8:55 
AnswerRe: how to find the login time and logout time using triggers in sql server2005 Pin
Goalie3525-Feb-10 5:26
Goalie3525-Feb-10 5:26 
As Mark said, you probably don't need the "totaltimespend" field. Keeping track of login & logout time should suffice.

I may be wrong on this, but triggers aren't the way to go for keeping a log table like this. Personally, I would update the "logintime" via my c# code when the user successfully logs in.

For logouttime, there's an event in your Global.asax file called "Session_End". Within there, simply open a connection to your log table and update logouttime.

Hope that helps.

-Goalie35
Questionhow to use charts in crystal reports using asp.net with c# Pin
developerit24-Feb-10 6:34
developerit24-Feb-10 6:34 
AnswerRe: how to use charts in crystal reports using asp.net with c# Pin
i gr824-Feb-10 19:13
i gr824-Feb-10 19:13 
Questionclick a button on a webcontrol but retain focus of current control on the form Pin
thedom224-Feb-10 1:58
thedom224-Feb-10 1:58 
AnswerRe: click a button on a webcontrol but retain focus of current control on the form Pin
R. Giskard Reventlov24-Feb-10 2:24
R. Giskard Reventlov24-Feb-10 2:24 
QuestionDeploying CAB File for ActiveX Control Pin
VikashGohil24-Feb-10 1:45
VikashGohil24-Feb-10 1:45 
QuestionAfter disabling the controls within ajax tab container which again within formview using client script not persisting values Pin
Rakesh N Bhavsar24-Feb-10 1:14
Rakesh N Bhavsar24-Feb-10 1:14 
QuestionMessage Removed Pin
24-Feb-10 1:06
Morgs Morgan24-Feb-10 1:06 
AnswerRe: ASP.NET website Pin
Gaurav Dudeja India24-Feb-10 1:12
Gaurav Dudeja India24-Feb-10 1:12 
AnswerRe: ASP.NET website Pin
Hannes Smit24-Feb-10 1:31
Hannes Smit24-Feb-10 1:31 
AnswerRe: ASP.NET website Pin
Morgs Morgan24-Feb-10 1:49
Morgs Morgan24-Feb-10 1:49 
QuestionSql query Pin
Amit Patel198524-Feb-10 1:06
Amit Patel198524-Feb-10 1:06 
AnswerRe: Sql query Pin
Gaurav Dudeja India24-Feb-10 1:15
Gaurav Dudeja India24-Feb-10 1:15 
AnswerRe: Sql query Pin
R. Giskard Reventlov24-Feb-10 1:28
R. Giskard Reventlov24-Feb-10 1:28 
GeneralRe: Sql query Pin
Amit Patel198524-Feb-10 1:35
Amit Patel198524-Feb-10 1:35 
GeneralRe: Sql query Pin
R. Giskard Reventlov24-Feb-10 2:21
R. Giskard Reventlov24-Feb-10 2:21 
QuestionWhich is best: Attached DB (App_Data) and Local DB (MSSQLEXPRESS), Precompiled or XCopy? Pin
tunsten23-Feb-10 21:41
tunsten23-Feb-10 21:41 
Questionhi selvamglobal, are u there? i hav a question for u Pin
diyaa_0823-Feb-10 21:35
diyaa_0823-Feb-10 21:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.