That's working thanks, but I've still got an other problem.

How can I protect the user to logon ones. When the user is working on
computer A and computer B with the same username, there is a problem.
When the user will logon in his second session, he should have a message
and cancel the logon action.

Is there any solution?

Thanks

Best Regards,
Harald Lammers.

[EMAIL PROTECTED] 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Michiel Meeuwissen
Sent: Thursday, September 02, 2004 2:50 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: Multiple logon (cloud)


Harald Lammers <[EMAIL PROTECTED]> wrote:
> How can I protect mmbase for multiple logon? When I go to an 
> application (by example http://www.didactormethod.com/) and logon. 
> There is no problem, but when I start on the same computer a second 
> browser (IE or
> Mozilla) and go to that site. I'm all ready in the system with that
> first username and password!

I suppose it is the same browser then, because the session is used to
store the login. Sessions use cookies which live as long as the browser.
If you start an entire new instance of the browser, it should not
happen.

It woudl be rather odd if this also occurs if one browser is IE and the
other Mozilla.

> Is there any solution for this problem?

If for some reason you need te be able to be logged in as several
different users, this gets a problem, which can be 'solved' by use of
the 'sessioname' argument of the cloud, because clouds with differnt
sesionnames are distinct in the same browser. It can e.g. be usefull to
define a special session-name for editor-pages, so that you can still
view the front-end of the site as a differnt or anonymous user.


 MIchiel


-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US



Reply via email to