Click here to Skip to main content
15,867,594 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
Richard MacCutchan9-Nov-09 3:56
mveRichard MacCutchan9-Nov-09 3:56 
GeneralRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
bruze9-Nov-09 4:07
bruze9-Nov-09 4:07 
GeneralRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
Richard MacCutchan9-Nov-09 4:16
mveRichard MacCutchan9-Nov-09 4:16 
GeneralRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
bruze9-Nov-09 4:26
bruze9-Nov-09 4:26 
Questionhow Assemblies load after publish of code [modified] Pin
gangisetti.sarath9-Nov-09 2:12
gangisetti.sarath9-Nov-09 2:12 
QuestionForce logout. Pin
gerrybrennan9-Nov-09 1:57
gerrybrennan9-Nov-09 1:57 
AnswerRe: Force logout. Pin
dan!sh 9-Nov-09 3:13
professional dan!sh 9-Nov-09 3:13 
AnswerRe: Force logout. Pin
Abhishek Sur9-Nov-09 7:10
professionalAbhishek Sur9-Nov-09 7:10 
Whenever some user logs in to a system, it actually creates a new session.
Just store the Session id againist IP address in the database whenever the user logs in.

Now create one handler from which check every request. Use IRequiresSessionState to get the session id. If the session is found in the database for the same IP, Server.Transfer to Logout page with a particular error.

This way no more than 1 login would be allowed from the same IP.


Remember : You should delete the entries as soon as the user logs out. Also you need to place a trigger which would automatically delete one record when Session expires in the server for the IP, so that if one user forgets to logout, he could login again after a certain Timeout range.

Cheers.
Rose | [Rose]

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

GeneralRe: Force logout. Pin
dan!sh 9-Nov-09 18:43
professional dan!sh 9-Nov-09 18:43 
GeneralRe: Force logout. Pin
Abhishek Sur9-Nov-09 21:11
professionalAbhishek Sur9-Nov-09 21:11 
QuestionHow Attach Multiple Files Pin
lrsalunkhe9-Nov-09 1:41
lrsalunkhe9-Nov-09 1:41 
AnswerRe: How Attach Multiple Files Pin
Not Active9-Nov-09 1:47
mentorNot Active9-Nov-09 1:47 
GeneralRe: How Attach Multiple Files Pin
lrsalunkhe9-Nov-09 2:29
lrsalunkhe9-Nov-09 2:29 
GeneralRe: How Attach Multiple Files Pin
Not Active9-Nov-09 5:35
mentorNot Active9-Nov-09 5:35 
AnswerRe: How Attach Multiple Files Pin
Gamzun9-Nov-09 3:31
Gamzun9-Nov-09 3:31 
GeneralRe: How Attach Multiple Files Pin
lrsalunkhe9-Nov-09 17:54
lrsalunkhe9-Nov-09 17:54 
GeneralRe: How Attach Multiple Files Pin
lrsalunkhe9-Nov-09 20:33
lrsalunkhe9-Nov-09 20:33 
GeneralRe: How Attach Multiple Files Pin
Gamzun10-Nov-09 3:44
Gamzun10-Nov-09 3:44 
QuestionNeed suggestion either Website or web service Pin
jaiswalrahul9-Nov-09 1:13
jaiswalrahul9-Nov-09 1:13 
AnswerRe: Need suggestion either Website or web service Pin
Nishant Singh9-Nov-09 1:27
Nishant Singh9-Nov-09 1:27 
Questiondatatable... Pin
mylogics9-Nov-09 0:49
professionalmylogics9-Nov-09 0:49 
AnswerRe: datatable... Pin
Nishant Singh9-Nov-09 1:16
Nishant Singh9-Nov-09 1:16 
GeneralRe: datatable... Pin
mylogics9-Nov-09 1:26
professionalmylogics9-Nov-09 1:26 
GeneralRe: datatable... Pin
Nishant Singh9-Nov-09 1:40
Nishant Singh9-Nov-09 1:40 
GeneralRe: datatable... Pin
Nishant Singh9-Nov-09 1:43
Nishant Singh9-Nov-09 1:43 

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.