----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: shenoy Message 3 in Discussion Hi,<o:p></o:p> <o:p> </o:p> <span style='mso-spacerun:yes'> Thanks for the suggestion. <o:p></o:p> <o:p> </o:p> <span style='mso-spacerun:yes'> I understand stand this is one of the solution to check a flag in the database. But there can be a catch here. Suppose a user instead of logging off closes the browser and the flag which is set in the database remain set. Next time when the user tries to login validation is done against this flag and the user will not be able to login. How do I tackle this situation. <o:p></o:p> <o:p> </o:p> <span style='mso-spacerun:yes'> Is there any other way that by using asp.net features I can achieve this�<o:p></o:p> <o:p> </o:p> <span style='font-size:9.0pt;font-family:Verdana;color:black;mso-no-proof:yes'>Regards,<font size=1 color=navy><o:p></o:p> <span style='font-size:9.0pt;color:navy;mso-no-proof:yes'> <o:p></o:p> <st1:PersonName>Prashant Shenoy</st1:PersonName><font color="#3366ff" face=Verdana><o:p></o:p> <span style='font-size:10.0pt;font-family:Verdana;color:#333333;font-weight:bold; mso-no-proof:yes'>Zap<st1:PersonName>A</st1:PersonName><font size=2 color="#333333" face=Verdana>pp India Private Limited <span style='font-size:8.0pt;font-family:Verdana;color:#333333;mso-no-proof:yes'>Level G & 1, Explorer Building, International TechPark, Whitefield Road, Bangalore - 560 066. INDI<st1:PersonName>A</st1:PersonName> 91-80- 5115 6050 extn. 4013 (phone) 91-80- 841 1858 (fax)<span style='font-size:10.0pt;font-family:Verdana;color:#333333;mso-no-proof:yes'> [EMAIL PROTECTED]<font color=blue><o:p></o:p> <o:p> </o:p> <span style='font-size:12.0pt;color:navy;mso-no-proof:yes'><o:p> </o:p> <o:p> </o:p> <span style='font-size:10.0pt;font-family:Tahoma'>-----Original Message----- From: KGK [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:34 AM To: BDOTNET Subject: Re: Open one instance of a application for a user. <span style='font-size:12.0pt'><o:p> </o:p> <span style='font-size:10.0pt;font-family:Arial'><o:p></o:p> <o:p></o:p> New Message on BDOTNET<o:p></o:p> <o:p></o:p> <span style='font-size:10.0pt;font-family:Arial'><o:p> </o:p> <a href="http://groups.msn.com/bdotnet/_notifications.msnw?type=msg&action=showdiscussion&parent=1&item=2085"><font color="#ff6600">Open one instance of a application for a user.<o:p></o:p> Reply <o:p></o:p> <o:p></o:p> Reply to Sender Recommend <o:p></o:p> Message 2 in Discussion <o:p></o:p> <o:p></o:p> From: KGK <o:p></o:p> <o:p> </o:p> Hi!<o:p></o:p> <o:p></o:p> Your answer lies in sharing some data across sessions. One way would be to use Application variables... but dont use them! It can deteriorate performance.<o:p></o:p> <o:p></o:p> Instead, when user authentication has happened against a DB, a flag in the DB can tell either of the sessions if the user has already logged in, by setting it once the first logon is thru. <o:p></o:p> <o:p></o:p> Regards,<o:p></o:p> Gaurav<o:p></o:p> <o:p></o:p> <span style='font-size:10.0pt;font-family:Arial'> View other groups in this category. <a href="http://g.msn.com/0ADW/236110.1??UIT=M&TargetID=105651&CtxID=2&PID=519660&AN=18178"> ----------------------------------------------------------- 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]
