Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:878974
More Search Options
RSS Available
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 >
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online