session start is getting fired on each page click
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have problem that session start is getting fired each time I click on a page. But on other machine it is gets fired only once when session is started. I have the same code on both machine. here is my code string strOut = @"<SCRIPT language='JavaScript'>try{var tparent;if(parent.EnableClock == null){if(parent.parent.EnableClock == null){tparent = parent.parent.parent;}else{tparent = parent.parent;}}else{tparent = parent;} tparent.resetClock();tparent.EnableClock = true;tparent.startClock(" + Session.Timeout.ToString() + ");}catch(err){}</SCRIPT>"; Please Help, Raghvendra Panda
modified on Wednesday, November 17, 2010 10:52 PM