One user in different queues


#1

Hallo rt-user-list!

I have the RT Version 1.0.7 installed. It runs well.

My Problem:
Some persons are user in different queues. There is a problem when
they loggged out on the same computer/browser from a queue and
login in another queue with the appropriate user-account.
This user can’t work with rt. He come automaticly to the login-site from
rt.
I think the cookie was set for the first login-user.

Is there a way to solve this problem. Perhaps to disable the
cookie-settings.

Thanks for your help.

Frank


#2

My Problem:
Some persons are user in different queues. There is a problem when
they loggged out on the same computer/browser from a queue and
login in another queue with the appropriate user-account.
This user can’t work with rt. He come automaticly to the login-site
from
rt.
I think the cookie was set for the first login-user.

    Why do you need them to have different usernames in different
    queues?  Couldn't they just access both queues from the same
    user account?

The problem comes up when the user and admin want to use the
same queue from one computer/browser. They can’t without the trick with
the two browsers. Or: The Coworker is user in queue A and B. He has
only one browser on hie Laptop.

Is there a way to solve this problem. Perhaps to disable the
cookie-settings.

    I tend to run a different browser when I need to do things
    like this -- for example, I use Netscape most of the time,
    and run MSIE when I need entirely seperate access to the same
    site.  (No need to get into a discussion regarding whether
    Netscape or MSIE is "better," it works the other way around
    as well -- or you can use Opera or anything else.)

That’s my way too. But there must be a more elegant way to solve this
situation.
The user must use the rt without such tricks. I want offer a simple
solution
for ‘stupidly’ user.

bye
Frank


#3

One fix for this inside RT would be to make the cookies expire at the
end of the current session, instead of giving them an extended life.
That way, quitting the browser causes the cookies to be dumped.

Also, with some modern browsers you can select a user profile when
launching the browser, and each profile has its own set of cookies.

At 9:19 AM +0100 3/7/01, Frank Lange wrote:

My Problem:
Some persons are user in different queues. There is a problem when
they loggged out on the same computer/browser from a queue and
login in another queue with the appropriate user-account.
This user can’t work with rt. He come automaticly to the login-site
from
rt.
I think the cookie was set for the first login-user.

    Why do you need them to have different usernames in different
    queues?  Couldn't they just access both queues from the same
    user account?

The problem comes up when the user and admin want to use the
same queue from one computer/browser. They can’t without the trick with
the two browsers. Or: The Coworker is user in queue A and B. He has
only one browser on hie Laptop.

Is there a way to solve this problem. Perhaps to disable the
cookie-settings.

    I tend to run a different browser when I need to do things
    like this -- for example, I use Netscape most of the time,
    and run MSIE when I need entirely seperate access to the same
    site.  (No need to get into a discussion regarding whether
    Netscape or MSIE is "better," it works the other way around
    as well -- or you can use Opera or anything else.)

That’s my way too. But there must be a more elegant way to solve this
situation.
The user must use the rt without such tricks. I want offer a simple
solution
for ‘stupidly’ user.

bye
Frank


Rt-devel mailing list
Rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

Bill Cole
Director of Customer Operations, MAPS L.L.C.
wkc@mail-abuse.org (work)
bill@scconsult.com (personal)


#4

Bill Cole wkc@mail-abuse.org wrote:

One fix for this inside RT would be to make the cookies expire at the
end of the current session, instead of giving them an extended life.
That way, quitting the browser causes the cookies to be dumped.

Also, with some modern browsers you can select a user profile when
launching the browser, and each profile has its own set of cookies.

Hallo Bill!

The first suggestion is good. That was my intention too. But i am not so good
in cgi/perl-programming, so that i can not execute my idea. I have found some
entries with cookies in ./lib/rt/ui/web/auth.pm and ./lib/rt/ui/web/support.pm but
I do not know how to manipulte the expire time.

Can you give me some hints?

Thanks for help.

Frank


#5

Look for the references to “-expires => ‘+6M’” and reduce that number to something
you are more comfortable with.

Also, if you select logout, the cookie, in its entirety should be destroyed…

-Rich


#6

Rich West schrieb:

Look for the references to “-expires => ‘+6M’” and reduce that number to something
you are more comfortable with.

Also, if you select logout, the cookie, in its entirety should be destroyed…

I changed the expire-values in ‘+1s’ resp ‘now’ but the result is not satisfied.
I added a expire-time for the password too, but this leads also not to the goal.
Here a code-piece from (my RT-folder)/lib/rt/ui/web/auth.pm:
$set_user = new CGI::Cookie(-name => ‘RT_USERNAME’,
-value => “$rt::ui::web::FORM{‘username’}”,
-expires => ‘now’);
$set_password = new CGI::Cookie(-name => ‘RT_PASSWORD’,
-value =>$hash,
-expires => ‘now’);

/Frank


#7

My Problem:
Some persons are user in different queues. There is a problem when
they loggged out on the same computer/browser from a queue and
login in another queue with the appropriate user-account.
This user can’t work with rt. He come automaticly to the login-site from
rt.
I think the cookie was set for the first login-user.

Why do you need them to have different usernames in different
queues?  Couldn't they just access both queues from the same
user account?

Is there a way to solve this problem. Perhaps to disable the
cookie-settings.

I tend to run a different browser when I need to do things
like this -- for example, I use Netscape most of the time,
and run MSIE when I need entirely seperate access to the same
site.  (No need to get into a discussion regarding whether
Netscape or MSIE is "better," it works the other way around
as well -- or you can use Opera or anything else.)

J.D. Falk "The Internet isn’t just a publishing medium or a
Product Manager medium for commerce, it’s a social medium."
Mail Abuse Prevention System LLC – Howard Rheingold