Hi Dan,

In theory there is nothing wrong with what this person is doing.

The key to the issue is how deligently you manage the session(s) with your code.

For example, if someone has succesfully logged in, then clicks a link to go to the 
logon 
page "again" - don't show them the Logon form if they already have their specific 
"allowed" 
User Scope variables, just show them a Logout button.

This way you force them to close their "session" before starting a new one.

As long as you do <@PURGE SCOPE=USER> when they logout, then it doesn't matter that 
they 
start a new "session" with a previously used <@USERREFERENCE> key.

---
Another scenario:

If a user has an active session, then starts a new browser instance from scratch (like 
from 
the computer's Start menu) - there is also nothing wrong with this because the new 
browser 
isntance will not have any "session-cookies" (previously used or otherwise).

A single computer can then run two independent sessions (with different 
<@USERREFERENCE> 
keys) this way, and the two should not interfer with each other. From a User point of 
view 
it can be confusing, but I test application like this often at it is reliable - at 
least 
with MS Internet Explorer on Windows.

The one caveat: is when posting to windows with specificaly target "names" - at this 
point, 
then a page that belongs to one session can potentially crossover and inherit a window 
(and 
it's associated session) from the other user.

---
In summary, a User who wants to open more than one session (of themselves or for other 
people), they should start a new browser instance to do so. If they don't, you just 
need to 
trap them at the logon form (as described earlier) with your code.

Hope this helps. Cheers......

Scott Cadillac,
Witango.org - http://witango.org
403-281-6090 - [EMAIL PROTECTED]
--
Information for the Witango Developer Community
---------------------

XML-Extranet - http://xmlx.ca
403-281-6090 - [EMAIL PROTECTED]
--
Well-formed Development (for hire)
---------------------


-----Original Message-----
From: Dan Stein <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: Robert Shubert <[EMAIL PROTECTED]>
Date: Thu, 04 Dec 2003 14:48:18 -0500
Subject: Witango-Talk: Session issues

> OK at least I have a reason behind the scrambled numbers today.
> 
> There is one admin user who finds it better to log in as the specific
> staff
> person from here computer than sometimes she remembers to log out
> sometimes
> she does not but just logs in again as a new user. So we have multiple
> sessions starting from the same machine.
> 
> Despite what we are doing with the tafs and cache I expect her session
> cookie is still alive and so when she logs back in again she will
> sometimes
> get the same userreferance number.
> 
> I have asked her to actually quit IE before logging in as another
> person but
> I think I will put that assign action to expire the session cookie on
> the
> log out page also to see if that helps.
> 
> Any suggestions besides that?
> 
> 
> -- 
> Dan Stein
> Digital Software Solutions
> 799 Evergreen Circle
> Telford PA 18969
> Land: 215-799-0192
> Mobile: 610-256-2843
> Fax 413-410-9682
> FMP, WiTango, EDI,SQL 2000
> [EMAIL PROTECTED]
> www.dss-db.com
> 
> 
>     "When you are born, you cry and those who love you rejoice.  And if
> you
> live your life as you should, when you die, you rejoice and those who
> love you cry."
> 
> _______________________________________________________________________
> _
> TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to