-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: SathishRaj
Message 3 in Discussion

Thanks Sitaram, u got the right url
"http://www.eggheadcafe.com/articles/20030416.asp"; for me.

> -----Original Message-----
> From: Sitaraman [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, August 05, 2003 12:22 PM
> To:   BDOTNET
> Subject:      Re: "Session_End" event is not firing when I configure the
> SessionState.mode='State
> 
>  
> <http://c.msn.com/c.gif?NC=9523&NA=34131&PS=&PI=26283&DI=416&TP=http://gro
> ups.msn.com>
>   <http://sc.groups.msn.com/themes/pby/img/mail/mlstar.gif>   New Message
> on BDOTNET <http://groups.msn.com/BDotNet>     
>   <http://sc.groups.msn.com/img/c.gif>        
> 
> 
>       "Session_End" event is not firing when I configure the
> SessionState.mode='State
> <http://groups.msn.com/BDotNet/_notifications.msnw?type=msg&action=showdis
> cussion&parent=1&item=4358>
>       
>       
> Reply
> <mailto:[EMAIL PROTECTED]
> %20is%20not%20firing%20when%20I%20configure%20the%20SessionState%2Emode%3D
> %27State>
>   <http://sc.groups.msn.com/img/c.gif>                 Reply to Sender
> <mailto:[EMAIL PROTECTED]
> is%20not%20firing%20when%20I%20configure%20the%20SessionState%2Emode%3D%27
> State>    Recommend
> <http://groups.msn.com/BDotNet/_notifications.msnw?type=msg&action=recomme
> nd&parent=1&item=4359>        Message 2 in Discussion         
> From: Sitaraman <http://groups.msn.com/BDotNet/profile?user=Sitaraman>
> 
> 
> 
> Hi
>  
> Probably u r trying to prevent "ultiple Logins from the same user id"!!!!
> Right!!!!
>  
> Ok! Session_OnEnd has problems in StateServer & SQL based Session Mgmt.
>  
> Check these out for the problem description and solution
> 
> 1.    "Preventing Multiple Logins in ASP.NET"   by "Peter A. Bromberg" :
> "The main issue is that if you put some sort of "lock" on the user record
> because somebody has logged in, and then they close their browser and you
> don't have a reliable way of determining that their session has expired so
> you can remove the lock, you are likely to get calls to your Tech Support
> desk from users complaining they cannot log in! (trust me, I have good
> reports that this has happened...) 
> 
>               The big problem, it turns out, is that with StateServer and
> SQL Server Sessions, the Session_End event in Global is never fired. Only
> InProc mode fires this. So in order to avoid Tech Support coming after us
> with hatchets and knives, we would need to come up with some sort of
> reliable surrogate for the Session_End event.    Robbe took off on his own
> angle here and wrote an excellent article about using the Cache class to
> handle some of these issues. You can   read it here
> <http://www.eggheadcafe.com/articles/20030416.asp>. Robbe also discusses
> how to use the callback mechanism in the Cache class to handle the
> situation where the item is removed from the Cache. In fact, he's
> determined that this even fires when the ASP.NET worker process recycles
> under normal conditions (such as when specified in machine.config),
> thereby enabling us to serialize Cache items to a database for later
> rehydration."
>               Link : <http://www.eggheadcafe.com/articles/20030418.asp>
> 
> 2.    "Prevent Multiple Logins Using the Cache in ASP.NET" by By Robbe D.
> Morris : "In ASP.NET, the Session_OnEnd event appears to fire fairly
> consistently when using InProc as the Session management option.
> However, if the ASP.NET worker process recycles, you are likely to get
> inconsistant results.   The Session_OnEnd event doesn't fire properly when
> utilizing State Server or SQL Server as the State management option.   For
> many of us, this creates a real problem"
> Link : <http://www.eggheadcafe.com/articles/20030416.asp>
> 
> Related articles.   Gives u an alternate way of handling the problem
> 
> hth
> 
> regards,
>  
> sr
> 
> View other groups in this category.
> <http://groups.msn.com/Browse?CatId=26> 
> 
> Click Here!
> <http://g.msn.com/0AD00001/503024.1??PID=2001966&UIT=M&TargetID=1014733&AN
> =23510&PG=WBCCOM> 
> 
> 
> Also on MSN:
> Start Chatting <http://g.msn.com/2GRENUS/2_8085_01> |   Listen to Music
> <http://g.msn.com/2GRENUS/2_8085_02> |   House & Home
> <http://g.msn.com/2GRENUS/2_8085_03> |   Try Online Dating
> <http://g.msn.com/2GRENUS/2_8085_04> |   Daily Horoscopes
> <http://g.msn.com/2GRENUS/2_8085_05>          
> 
>   <http://sc.groups.msn.com/img/c.gif>        
> 
> 
>       To stop getting this e-mail, or change how often it arrives, go to
> your E-mail Settings <http://groups.msn.com/BDotNet/_emailsettings.msnw>. 
>       
>       Need help? If you've forgotten your password, please go to Passport
> Member Services <http://groups.msn.com/_passportredir.msnw?ppmprop=help>. 
>       For other questions or feedback, go to our Contact Us
> <http://groups.msn.com/contact> page. 
>       
>       If you do not want to receive future e-mail from this MSN group, or
> if you received this message by mistake, please click the "Remove" link
> below. On the pre-addressed e-mail message that opens, simply click
> "Send". Your e-mail address will be deleted from this group's mailing
> list. 
>       Remove my e-mail address from BDOTNET.
> <mailto:[EMAIL PROTECTED]> 
> 
> 
____________________________________________
Confidential:  This electronic message and all contents contain information
from Syntel, Inc. which may be privileged, confidential or otherwise
protected from disclosure. The information is intended to be for the
addressee only. If you are not the addressee, any disclosure, copy,
distribution or use of the contents of this message is prohibited.  If you
have received this electronic message in error, please notify the sender
immediately and destroy the original message and all copies.


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to