Search

You searched for the word(s): userid:878974

Matching Posts

  • Re: Sessions in web application

    Hi I am not able to call the function in the way u told to assign as source to an image. Please find the code and tell me if am doign anything wrong function endsession() { alert("sdsD"); if(window.event.clientY < 0 && window.event.clientX < 0) { var status=window.confirm("close it"); if(status == true) { alert(status); var img = new Image(); img.src = "/AppraisalStart.aspx"; alert("called"); } } } I am able to call the javascript function, but
    Posted to State Management (Forum) by ushajyothsna on 11/30/2009
  • Re: Sessions in web application

    Hi Yes i did the same way as you told. Stripped out the /, added debugger on page_load of the calling page. I am storing the page in the same folder where my master page is. "Called" message is getting called, but am not able to go to the page mentioned. At any cost i want to hit Sesison_End event in global.asax on browser close. Usha
    Posted to State Management (Forum) by ushajyothsna on 11/30/2009
  • Re: Sessions in web application

    By giving the full URL, it got called only once. After that the page was never called again. But the last alert after calling the URL is getting called all the time.
    Posted to State Management (Forum) by ushajyothsna on 11/30/2009
  • Re: Sessions in web application

    My application is not using any other sites as link. And moreover, my session has a timeout value of 30 mins. In that case, when we close the browser the session ends only after the 30 mins. Till that time it will be active. For this i want to kill the session by force. All this i want to do is to list the users of the application who are all online using the application.
    Posted to State Management (Forum) by ushajyothsna on 11/30/2009
  • Re: Sessions in web application

    Hi Thanks for youe suggestion. I have seen your article on using membership provider. It says that " If the LastActivityDate for a user is greater than the current date and time minus the UserIsOnlineTimeWindow value in minutes, then the user is considered online. Does the closing of browser is being handled by using this membership provider and it immediately gives the result whether the user is online or not? It is an intranet application and i use Windows authentication for the users Usha
    Posted to State Management (Forum) by ushajyothsna on 11/30/2009
  • Re: Sessions in web application

    What do you mean by last alert "called" is getting all the time ? I mean the last alert("called") after calling the aspx page.
    Posted to State Management (Forum) by ushajyothsna on 11/30/2009
  • Re: Sessions in web application

    Hi Satalaj I am able to hit the Session_End event by killing the session in the redirected URL. But can you clarify me one thing, why is the javasctipt function which i am calling on page unload is not getting hit everytime i close the browser. Its getting hit only some times. Thank you Usha
    Posted to State Management (Forum) by ushajyothsna on 11/30/2009
  • Re: Sessions in web application

    Hi Satalaj Thanks for all the guidence.
    Posted to State Management (Forum) by ushajyothsna on 11/30/2009
  • Sessions in web application

    Hi I have an intranet application where , once opened the master page has iframe that points to framepafe.aspx . In this framepage.aspx i have included a timer that the page will refresh for every 5 mins. Now the problem is when the user clicks on log out button the session ends. But i am not sure whether the user will click the button or close the browser. Incase the user closes the browser then the session will never expire as the framepage refreshes for every 5 mins. Then the number of sessions
    Posted to State Management (Forum) by ushajyothsna on 11/27/2009
  • Re: Sessions in web application

    Hi I tried what you have said, by calling a server side function from javascript. Using PageMethods.methodname(). But unable to call the function. Can u give me some sample code ? Usha
    Posted to State Management (Forum) by ushajyothsna on 11/27/2009
Page 1 of 4 (36 items) 1 2 3 4 Next >