Click here to Skip to main content
15,887,350 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionwhat info is stored in form auth cookie Pin
Tridip Bhattacharjee18-Mar-16 9:09
professionalTridip Bhattacharjee18-Mar-16 9:09 
AnswerRe: what info is stored in form auth cookie Pin
Richard MacCutchan18-Mar-16 23:07
mveRichard MacCutchan18-Mar-16 23:07 
QuestionError too many changes at once in directory from the filesystemwatcher Pin
byka17-Mar-16 2:47
byka17-Mar-16 2:47 
AnswerRe: Error too many changes at once in directory from the filesystemwatcher Pin
Sascha Lefèvre17-Mar-16 2:51
professionalSascha Lefèvre17-Mar-16 2:51 
AnswerRe: Error too many changes at once in directory from the filesystemwatcher Pin
Richard MacCutchan17-Mar-16 2:58
mveRichard MacCutchan17-Mar-16 2:58 
Questionasp.net MVC, c# Date and Time, not DateTime Pin
jkirkerx16-Mar-16 7:22
professionaljkirkerx16-Mar-16 7:22 
AnswerRe: asp.net MVC, c# Date and Time, not DateTime [ Sort of Solved] Pin
jkirkerx18-Mar-16 8:42
professionaljkirkerx18-Mar-16 8:42 
Question0x800a138f - Microsoft JScript runtime error: Object expected Pin
Redvan14-Mar-16 3:52
Redvan14-Mar-16 3:52 
Hi,
I've been all over the internet trying to resolve this issue for a few days now and nothing I do makes a difference. Even what was suggested here, at this site, doesn't work. (Being new to all this is a handicap as well.)

What I'm trying to do is reload the page after an interval.
I get the error at this line: 'function BeginTimeOut()'

Here's the code from the 'site.master' page:
ASP.NET
<body>
    
    <form runat="server">
        
    <script type="text/javascript">

        var sessionTimeOutValue = "<%= Session.Timeout %>";
        var counter = (sessionTimeOutValue * 60) + 1;
        var interval;

        function BeginTimeOut() {
            window.clearInterval(interval);
            counter = (sessionTimeOutValue * 60) + 1;
            interval = self.setInterval(function () { StartTimeOut() }, 1000);
        }

        function StartTimeOut() {
            counter--;
            if (counter == 0) {
                window.clearInterval(interval);
                window.location.assign("default.aspx");
            }
        }

    </script>

QuestionRe: 0x800a138f - Microsoft JScript runtime error: Object expected Pin
ZurdoDev14-Mar-16 4:18
professionalZurdoDev14-Mar-16 4:18 
AnswerRe: 0x800a138f - Microsoft JScript runtime error: Object expected Pin
Redvan14-Mar-16 5:42
Redvan14-Mar-16 5:42 
AnswerRe: 0x800a138f - Microsoft JScript runtime error: Object expected Pin
ZurdoDev14-Mar-16 5:50
professionalZurdoDev14-Mar-16 5:50 
GeneralRe: 0x800a138f - Microsoft JScript runtime error: Object expected Pin
Redvan14-Mar-16 6:37
Redvan14-Mar-16 6:37 
QuestionWhere is the connection string in asp.net example? Pin
hmanhha14-Mar-16 2:40
hmanhha14-Mar-16 2:40 
AnswerRe: Where is the connection string in asp.net example? Pin
hmanhha14-Mar-16 4:43
hmanhha14-Mar-16 4:43 
AnswerRe: Where is the connection string in asp.net example? Pin
aarif moh shaikh14-Mar-16 21:06
professionalaarif moh shaikh14-Mar-16 21:06 
GeneralRe: Where is the connection string in asp.net example? Pin
hmanhha18-Mar-16 17:07
hmanhha18-Mar-16 17:07 
QuestionHOw to organize My ASP website Pin
hmanhha12-Mar-16 3:19
hmanhha12-Mar-16 3:19 
AnswerRe: HOw to organize My ASP website Pin
F-ES Sitecore13-Mar-16 10:47
professionalF-ES Sitecore13-Mar-16 10:47 
AnswerRe: HOw to organize My ASP website Pin
aarif moh shaikh13-Mar-16 19:30
professionalaarif moh shaikh13-Mar-16 19:30 
GeneralRe: HOw to organize My ASP website Pin
hmanhha14-Mar-16 2:38
hmanhha14-Mar-16 2:38 
GeneralRe: HOw to organize My ASP website Pin
Parveen Siwach14-Mar-16 3:32
professionalParveen Siwach14-Mar-16 3:32 
AnswerRe: HOw to organize My ASP website Pin
aarif moh shaikh14-Mar-16 18:20
professionalaarif moh shaikh14-Mar-16 18:20 
AnswerRe: HOw to organize My ASP website Pin
hmanhha18-Mar-16 21:04
hmanhha18-Mar-16 21:04 
AnswerRe: HOw to organize My ASP website Pin
hmanhha24-Mar-16 15:14
hmanhha24-Mar-16 15:14 
Questiondynamic grid view Pin
dateaditya10-Mar-16 23:04
dateaditya10-Mar-16 23:04 

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.