terminate session?

Discussion in 'ASP .Net' started by lucas, Aug 5, 2004.

  1. lucas

    lucas Guest

    Hi,
    is there a way to terminate a user session?

    I created a web service that loops trough a database that contains
    emails and sends a personnaly adressed email to everyone. The web
    service is void (dosn't return anything to the caller). I use a web form
    to create the email with attachments and pass the email as a parameter
    to the web service. The client I'm doing this for has a little over 8000
    emails in the database so I make the application pause for 2 minutes at
    every few hundred emails just to be sure I don't overload the server.

    Everything works fine but after I've sent the request to the web
    service, the internet explorer status bar is still active, like it's
    waiting for something. I can close the browser and the web service will
    continu it's operation anyway, but it would be nice not to have the
    status bar look like it's waiting for something. Is there anyway to
    terminate the session or not have ie wait for something?
     
    lucas, Aug 5, 2004
    #1
    1. Advertising

  2. lucas

    Bobby Ryzhy Guest

    On Thu, 05 Aug 2004 12:59:30 -0400, lucas <> wrote:

    >Hi,
    >is there a way to terminate a user session?
    >
    >I created a web service that loops trough a database that contains
    >emails and sends a personnaly adressed email to everyone. The web
    >service is void (dosn't return anything to the caller). I use a web form
    >to create the email with attachments and pass the email as a parameter
    >to the web service. The client I'm doing this for has a little over 8000
    >emails in the database so I make the application pause for 2 minutes at
    >every few hundred emails just to be sure I don't overload the server.
    >
    >Everything works fine but after I've sent the request to the web
    >service, the internet explorer status bar is still active, like it's
    >waiting for something. I can close the browser and the web service will
    >continu it's operation anyway, but it would be nice not to have the
    >status bar look like it's waiting for something. Is there anyway to
    >terminate the session or not have ie wait for something?



    Session.Abandon();


    Bobby Ryzhy
    bobby @ domain below
    http://weekendtech.net
     
    Bobby Ryzhy, Aug 5, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Denon
    Replies:
    1
    Views:
    2,060
  2. Denon
    Replies:
    0
    Views:
    397
    Denon
    Nov 14, 2003
  3. Denon
    Replies:
    0
    Views:
    414
    Denon
    Nov 14, 2003
  4. feng
    Replies:
    1
    Views:
    1,507
    =?Utf-8?B?U3VyZXNo?=
    Feb 29, 2004
  5. TR
    Replies:
    6
    Views:
    27,824
    Steve C. Orr [MVP, MCSD]
    Feb 9, 2005
Loading...

Share This Page