Creating New Process Which Doesn't Get Killed Even Browser Is Closed

Jul 6, 2010

I need to perform an operation such as extracting the data for past one year from DB and doing some manipulations and finally displaying the excel graphs for the extracted data. The extraction of data takes almost 6-7 hrs. What i require is that user enters the required data (date and some other details )through an asp.net page and submits it and then closes the browser. Now a process should get started which will extract all data and create the graphs and finally send an email to the particular user.

View 6 Replies


Similar Messages:

State Management :: Session - User Closes Browser, The Session Does Not Get Killed?

Jul 15, 2010

I have a website live in asp.net

now if user closes browser. the session does not get killed.

I spoke with friend and he said that cannot be done as sessions are on server.

but i see banking website who kills session when browser is closed.

View 10 Replies

Web Forms :: Child Page Not Getting Closed On Stopping The Debug Process From IDE?

Mar 11, 2010

I started creating a new website in Visual Studio 2008 and in my site, there are two pages such that clicking treenode on parent page will take the user to second page. But when i execute my project and then stop the debugging from IDE, the child window is not getting closed. I am not sure where i am missing.

View 1 Replies

Delete Cache When Web Browser Is Closed?

Oct 13, 2010

I have issue about multiple login in asp.net.

Case this happen:

User X login as "user1" in web browser.
Then user Y also login as "user1" also in another web browser.
User Y got error message "Another user log in some account".

That is work as expected.

If X, close their web browser. Then try again to login in as "user1".
X get also get "Another user log in some account".

So i trying debug then i found session is remove when web browser is close, but cache still remaining in web browser.

how to clear cache when user close their browser, (not tab).

View 1 Replies

Session Expires When The Browser Is Closed?

Aug 18, 2010

How does session expires when the browser is closed?

View 4 Replies

Security :: Session Not Expiring After Browser Is Closed?

Dec 29, 2010

When the browser is closed (w/out clicking on log out) and user launches the site using a new session, it does not prompt user to login credential page, rather it takes the user back to the previous session.

View 1 Replies

How To Reset Task Of User Once The Browser Closed

Jul 15, 2012

I am working on roles. Allocated some tasks to Annonumous User and LoggedIn User.  What happen, once I login it shows me the correct task for LoggedIn  user. But if I restart the application then by default it shows me LoggedIn users tasks. I am testing chrome and I.E.

View 1 Replies

Session Variables Not Being Abandoned When Browser Window Is Closed?

Jan 20, 2011

It seemed to keep the session cookies from staying on the client after the browser was closed. Another strange this is that I can close the IE and open FireFox and the session is in there too. HOW IS THAT? I am thinking it is how my environment is setup. I have the sessions set for InProc and using cookies in IIS. What is different in IIS7?

Update: I am using integrated mode for my app pool. I looked at an older site I created using .net 3.5 and iis6 running on Sever2003. I can log into the site and it creates the session variable for me. I then go to FireFox and open the same site. It requires me to log in (my application will take you to your prfile if a session exists). If I then close IE and reopen IE, then go back to my site, it requires me to log in again. What is happening with iis7 and my current application, is quite odd. The only difference in how my session is pulled is that I am getting the variable while casting the current handler to the Page object: (Page)HttpContext.Current.Handler

Update: well, I think i found where the issues is and it has to do with casting the HttpContext.Current.Handler to the current page object. I have a configuration file where I wanted to put a property so all other classes could reference a central point to grab the User session object I created. The HttpContext.Current.session was always null and someone had suggested casting the HttpContext.Current.Handler. I created a simple page that checks to see if a session varaible has been created and if not it creates it. Then I print out the value. When I close the browser, the session is GONE. So, that is working. The code I had origianlly in this message was really for the back button, So I guess it is not clear why that session pulled from the Hnadler is always available until I speicifcally clear it.

View 3 Replies

Web Forms :: Destroy Session When Browser Window Is Closed

Feb 25, 2016

If Someone has logged in to website and directly closes the window without clicking signout button where i have written a code to clear all session.

So in this case how i clear a session when user closes window directly?

View 1 Replies

Web Forms :: Detect If Browser Is Closed Or Machine Is Switched Off

May 30, 2013

My program need to detect the user visibility, if the user is login or not. I Put the information on the database 

here the pseudocode:

if the user click "LOGIN" I Update the user information to ONLINE = TRUE;

else if the user click "LOGOUT"  I Update the user information to ONLINE = FALSE;

My Question is: How can I detect if the user leave the website or turn off the computer without clicking "logout"

View 1 Replies

Web Forms :: How To Kill Session When Browser / Page Closed

May 7, 2015

How to kill the session when Browser closed/page closed.

View 1 Replies

Web Forms :: Wizard Control Persist The State While Closed The Browser?

Feb 28, 2011

I am using Wizard Contorl in one of my project, I want to maintain the state of the wizard control at any step .Let me explain further , let suppose when user is at Step 4 out of Step 10 and then user would close the browser so the state should be persisted and when the user come back again to the same URL the step would be 4.

View 1 Replies

VS 2010 - SQLState Server Destroy All Sessions When 1 Browser Is Closed

Oct 31, 2011

I have started using an SQLState server to store my objSessionData object and many more session data.

<sessionState mode="SQLServer" sqlConnectionString="Server=**********;UID=*****; PWD=***" cookieless="false" stateNetworkTimeout="20" timeout="60" />

I open two browser, log into the application, proceed in a few pages to store some information in the objSessionData for both browser (2 differrent session).If I close the first broswer, and now keep on going on the 2nd broswer, everything that was in session is now lost.It looks like Session 1 detroyed session 1 and session 2.I have tried to change the cookieless to TRUE and when it is set to TRUE, I do not get this problem at all.

View 9 Replies

Web Forms :: Save (Insert) Logout Time If Browser Closed

Feb 25, 2016

[URL] ....

By using above query its fine to save logout time in database, if the user unfortunately close the browser without logout then how to store logout time in database...

View 1 Replies

Web Forms :: Access And Update Session Data After Browser Is Closed

Apr 6, 2014

I want to store Session Data after Close browser.

View 1 Replies

Architecture :: Process Of Creating An Audit Trail System?

Jun 9, 2010

I am in the process of creating an audit trail system. Simple enough. Certain fields require audit trail. What is the best design concept to allow this to work in multiple applications without having to change much? I would of course leave it to the admin of the site to add what fields should be audited, but the logic is the problem. Would implementing the interface IComparable be a place to start? My initial thinking is to compare 2 arrays against eachother and do an insert of what fields are in question. Array1 are the fields in the form, array2 are the fields from the sql table that require auditing.

View 8 Replies

C# - Is The HttpSessionState.SessionID Property Unique Per Browser Process / Tab?

Feb 23, 2010

Is the HttpSessionState.SessionID Property unique per browser process / tab?

That is, does each tab in each process have a unique Is the HttpSessionState.SessionID Property unique per browser process / tab?

View 1 Replies

Continue The Process Even The User Close The Browser Window?

Apr 11, 2010

i need to develop a tool which will take a long of time while processing, lets say copying data with size 1 GB from one database to another,

i can develope a webform for that issue but i have a problem which is when the user close the browser the process will terminate!

what i need is when the user click on "copy" button (regarding to my previous scenario) the process continue even the user close the browser, and will not end untill the all data copied successfully to the destination place.

should i use windows service with my webform? or webservice ?

View 11 Replies

Ajax - Long Process And Sending Updates To Browser

Jan 30, 2010

I've asked this before but I was hoping for another answer and perhaps some code samples because I've been having a difficult time with this. I have an asp.net page. The user hits the "Run" button and I have code IN AN ASSEMBLY, not in the APP_CODE folder that is called and runs a long process that moves product info from a file into the database. While the user waits, I would like them to see status updates like what product the import process in on and status info. I'm assuming I'd break off into another thread and use Ajax but I have no idea how to do this.

View 2 Replies

Process Involved In Viewing A Webservice In A Browser From Within Visual Studio?

Jun 9, 2010

I have created a new VS2008 ASP.Net Web service project, with the default name WebService1. If I right click on the Service1.asmx file and select 'View in Browser' what are the processes that go on to make this happen? I am asking because I have a situation where when I run this from a visual studio project started in our development shell (which sets up a common build environment) I cannot get the web service to show up in the browser.

C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
ootc43ddc22268ae91bhashhash.web

View 1 Replies

Configuration :: System.diagnostic.process.start Not Working From Client Browser

Jul 15, 2010

I've an application where in am trying to show a slideshow directly on page load.. for that am using the following code

[Code]....

Its perfectly working on the dev environment but when deployed onto iis7.. am not able open the file..

I've given all folder rights for asp.net account and network service..

View 5 Replies

Visual Studio :: Service Not Killed - Remove?

Jul 23, 2010

I created a service which will fetch data from the DB and sent it another application . For insatlling that service i use a insatll.bat which has the following line Serive_fech.exe -i and for unistalling Serive_fech.exe -u . When i insatll i can see the service listed in task manager . But when i stoped or restarted that service its not removed from the list . How to remove that. I have build the application using 3.5.

View 1 Replies

DataSource Controls :: Installation Just Magically Killed Itself

Mar 27, 2010

Last night I was developing a new web application from the main server and my SQL installation killed itself and my .NET instance no longer works the way it's supposed to. I lost a serious amount of test data and I can't recreate the main ASPNETDB.

View 4 Replies

Visual Studio :: The Underlying Connection Was Closed: A Connection That Was Expected To Be Kept Alive Was Closed?

Feb 3, 2011

I have created a webservice in 2010. And when I call it from my web application sometimes,It generates the follwoing errors:-1. The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.2. Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.I have already tried increasing excutonTimeOut etc.

View 2 Replies

Creating Framework For A Basic Browser Game?

Sep 22, 2010

beginner programmer - basic C#, first year of university going too slow in terms of actually learning programming. i'm looking at creating framework for a basic browser game, in the vein of urbandead and the now dead nexuswar. because i'm a student i already have visual studio 08 for free - because of this, and my experience with C#, is it worth it to choose ASP.NET/ADO.NET over PHP/mySQL for this kind of project?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved