Click here to Skip to main content
15,911,711 members
Home / Discussions / Web Development
   

Web Development

 
QuestionSimple Regular Expression? [modified] Pin
neo_605326-Sep-06 18:00
neo_605326-Sep-06 18:00 
AnswerRe: Simple Regular Expression? Pin
_AK_26-Sep-06 23:11
_AK_26-Sep-06 23:11 
GeneralRe: Simple Regular Expression? Pin
neo_605327-Sep-06 0:02
neo_605327-Sep-06 0:02 
GeneralRe: Simple Regular Expression? Pin
_AK_27-Sep-06 0:06
_AK_27-Sep-06 0:06 
GeneralRe: Simple Regular Expression? Pin
neo_605328-Sep-06 15:48
neo_605328-Sep-06 15:48 
GeneralRe: Simple Regular Expression? Pin
_AK_28-Sep-06 23:52
_AK_28-Sep-06 23:52 
AnswerRe: Simple Regular Expression? Pin
just3ala227-Sep-06 22:53
just3ala227-Sep-06 22:53 
QuestionTo make a javascript function execute only at the time of closing a window and not while refreshing Pin
saleemy2ks25-Sep-06 18:15
professionalsaleemy2ks25-Sep-06 18:15 
Hi,
In our asp.net 1.1 application client has told us to maintain one session per application means only one user can login at a time and if another user tries to login then we should tell that user that another user has already logged in. So all these things i finished doing but i am facing a problem when user closes the window directly without bieng logging out and the default session timeout is about 20 minutes so if a user has closed the window another user cannot login for another 20 minutes till the session expires.
So to avoid this using javascript i have written a function which will execute onbeforepageload event which will post to the login page with a querysting parameter which tells that the user has clicked the logout button and i am ending the session of that user. This is working fine for the close window but also it is getting executed when we refresh the page. through some javascript coding i got succeede to avoid the F5 refresh but we have to avoid even others options of refresh also. and we cannot disable those options.
hope you have understood my problem. So can anybody please help in this matter how to solve this problem.

Thanks in advance

Syed Saleem
AnswerRe: To make a javascript function execute only at the time of closing a window and not while refreshing Pin
JUNEYT25-Sep-06 21:35
JUNEYT25-Sep-06 21:35 
GeneralRe: To make a javascript function execute only at the time of closing a window and not while refreshing Pin
saleemy2ks26-Sep-06 2:14
professionalsaleemy2ks26-Sep-06 2:14 
GeneralRe: To make a javascript function execute only at the time of closing a window and not while refreshing Pin
JUNEYT26-Sep-06 2:56
JUNEYT26-Sep-06 2:56 
Questionbrand new developer of web processes Pin
marsh4425-Sep-06 11:09
marsh4425-Sep-06 11:09 
Questionimage shere Pin
Brent Lamborn25-Sep-06 6:35
Brent Lamborn25-Sep-06 6:35 
AnswerRe: image shere Pin
Guffa25-Sep-06 9:10
Guffa25-Sep-06 9:10 
GeneralRe: image shere Pin
Brent Lamborn25-Sep-06 9:32
Brent Lamborn25-Sep-06 9:32 
AnswerRe: image shere Pin
Guffa25-Sep-06 14:04
Guffa25-Sep-06 14:04 
QuestionPERT/CPM Chart Pin
himanshusharma225-Sep-06 3:26
himanshusharma225-Sep-06 3:26 
QuestionActivex Not Painting Pin
vinodraut25-Sep-06 2:12
vinodraut25-Sep-06 2:12 
Questionadd a password Pin
nirushi24-Sep-06 23:23
nirushi24-Sep-06 23:23 
AnswerRe: add a password Pin
CWIZO25-Sep-06 4:24
CWIZO25-Sep-06 4:24 
QuestionDirectory.Move() Issue Pin
raghbhar24-Sep-06 20:58
raghbhar24-Sep-06 20:58 
AnswerRe: Directory.Move() Issue Pin
Guffa25-Sep-06 2:22
Guffa25-Sep-06 2:22 
AnswerRe: Directory.Move() Issue Pin
sundar15625-Sep-06 12:57
sundar15625-Sep-06 12:57 
Questionrecordcount property Pin
myousufq24-Sep-06 13:55
myousufq24-Sep-06 13:55 
AnswerRe: recordcount property Pin
Guffa24-Sep-06 18:21
Guffa24-Sep-06 18:21 

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.