C
Conformix Sales
Any thought about how can I stop a user from logging into the application
multiple times. I am using forms authentication.
multiple times. I am using forms authentication.
Karl Seguin said:You'll always have that problem. That's wha tthe lastLoggedIn time is
for.....if they've been idle for 5 minutes, you can reset the account and
assume they simply closed their browser. You can also use javascript
events
such as onbeforeunload in IE to work some magic...but I agree it'll always
be a problem...it's your only real solution though...
Karl
Kumar Reddi said:May I know why you are not considering Session variables
kumar
Kumar Reddi said:Why dont you add the username to a session variable, like
Session["userName"] = "something"; Then keep checking the
existence of this session variable. Session has a fixed
timeout period. By default 20 minutes idle time, after
which all the session variables are cleared. So, this
saves you from multiple calls to database. Asp.Net take
care of session clearance, if the user closes the browser.
Kumar
-----Original Message-----
What do you mean?
.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.