Click here to Skip to main content
15,921,351 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to manual login control in ASP.net Pin
hmanhha18-Mar-16 16:59
hmanhha18-Mar-16 16:59 
AnswerRe: How to manual login control in ASP.net Pin
Afzaal Ahmad Zeeshan19-Mar-16 23:01
professionalAfzaal Ahmad Zeeshan19-Mar-16 23:01 
QuestionMVC Razor, back to Date and Times, List of Items, separated by Today, Tomorrow, etc. More efficient way of writing this Pin
jkirkerx18-Mar-16 10:13
professionaljkirkerx18-Mar-16 10:13 
AnswerRe: MVC Razor, back to Date and Times, List of Items, separated by Today, Tomorrow, etc. More efficient way of writing this Pin
Richard Deeming21-Mar-16 3:03
mveRichard Deeming21-Mar-16 3:03 
GeneralRe: MVC Razor, back to Date and Times, List of Items, separated by Today, Tomorrow, etc. More efficient way of writing this Pin
jkirkerx21-Mar-16 9:18
professionaljkirkerx21-Mar-16 9:18 
GeneralRe: MVC Razor, back to Date and Times, List of Items, separated by Today, Tomorrow, etc. More efficient way of writing this Pin
jkirkerx21-Mar-16 9:35
professionaljkirkerx21-Mar-16 9:35 
GeneralRe: MVC Razor, back to Date and Times, List of Items, separated by Today, Tomorrow, etc. More efficient way of writing this Pin
deepankarbhatnagar21-Mar-16 19:22
professionaldeepankarbhatnagar21-Mar-16 19:22 
Questionwhat is service bus and azure service bus Pin
Tridip Bhattacharjee18-Mar-16 9:10
professionalTridip Bhattacharjee18-Mar-16 9:10 
AnswerRe: what is service bus and azure service bus Pin
Richard MacCutchan18-Mar-16 23:08
mveRichard MacCutchan18-Mar-16 23:08 
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 

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.