Session Management

L

Lloyd Taylor

Hello,

I am creating a web application and I would like to adopt similar
session/user management to my online banking system. I was wondering if
anyone could give me a few pointers.

1. When my session is about to expire a notice is displayed counting the
time down,
what is the best way of of trying to re-create this??

2. If I try and have two simultaneous logins, my first login session is
immediatley terminated upon my second login session.

Can anyone possibly suggest a method of getting this sort of functionality.

Many Thanks
 
N

Natty Gur

Hi,

Session is ASP.NET objects that actually run by dedicate IHttpModule.
ASP.NET dies after predefined time (web.comfig) that the user didn't do
any action on the server. your demand to let the use know that session
is going to end enforce connection to the server to get elapsed time
therefore session wont end ever. if you want to achieve your desire
behaviour you need to create you own "Session" and managed that session
expiration. With your own session you can request the server in fix
intervals and display the user counting the time down. your second
demand to terminate existing session when the user create new session,
can also be achieved using custom session. since asp.net session
represent browser requests to server and technically your user can open
two browser and open new session from each browser (and you want just
one active session).


Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)52-8888377


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 

Ask a Question

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.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top