Re: OnUnload event

From: Viktor Popov (viketo_at_yahoo.com)
Date: 09/11/04


Date: Sat, 11 Sep 2004 23:14:35 +0300

Hi, Thanks for the reply!
I would like to run this code on the client side:
void private signout()
{
HttpContext.Current.Cache.Remove(Session["usrName"].ToString());
Session["user"]=null;
Session["usrName"]=null;
FormsAuthentication.SignOut();
}

How could be accomplished that?
I don't know exactly where should be written this function.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.760 / Virus Database: 509 - Release Date: 10.9.2004 ã.


Relevant Pages

  • Re: String contains ?
    ... this problem is best solved with javascript on the client side ... Outgoing mail is certified Virus Free. ... Checked by AVG anti-virus system. ...
    (microsoft.public.inetserver.asp.general)
  • Re: win login
    ... ask the CLIENT not to use a password in the future.....ie, ... Outgoing mail is certified Virus Free. ... Checked by AVG anti-virus system. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: dropdown list lost focus
    ... > when the page is rendered, you can have a javascript attached to the ... > client itself. ... Outgoing mail is certified Virus Free, so am I. Checked by AVG anti-virus system. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How To Handle User Defined Fields?
    ... > I have received a request from my client where they'd like me to allow ... > lets say they ask for the ability to add a FAXPHONE column to a table ... > Checked by AVG anti-virus system. ...
    (microsoft.public.sqlserver.programming)
  • Re: Dropping Zeros from Avg
    ... That's a good suggestion. ... works just fine, and the client likes it, so we'll probably stick with that. ... >> Outgoing mail is certified Virus Free. ...
    (microsoft.public.access.gettingstarted)