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

Web Development

 
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 
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 
The easiest way what I feel is to use Meta information and get the trick working. Consider we have a page WebPage.aspx add the below code in the the WebPage.aspx.cs file.

private void Page_Load(object sender, System.EventArgs e)

{

Response.AddHeader("Refresh",Convert.ToString((Session.Timeout * 60) + 5));

if(Session[“IsUserValid”].ToString()==””)

Server.Transfer(“Relogin.aspx”);

}



In the above code, The WebPage.aspx is refreshed after 5 seconds once the Session is expired. And in the page load the session is validated, as the session is no more valid. The page is redirected to the Re-Login page. Every post-back to the server will refresh the session and the same will be updated in the Meta information of the WebPage.aspx.

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 
GeneralRe: recordcount property Pin
myousufq24-Sep-06 19:09
myousufq24-Sep-06 19:09 

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.