Persistent sessions

I have tried the recipe for persistent sessions at
PersistentSessions - Request Tracker Wiki and it appears to
work as intended. (FWIW the main reason for implementing this change was
to make the RefreshHomepage setting persist.) However, RT seems to be
touching the sessions (LastUpdated field in the sessions table) overnight
which effectively forces the user’s session to be either reset to default
values or lost so that a new one is generated.

I have two cron jobs that touch either users or sessions. Nightly at 1am a
SQL command is run to cleanup sessions last updated more than a month ago:

    delete from sessions where LastUpdated < date_sub(now(), interval 

1 month)

The second job is a Perl script that uses the API to update user info from
an external data source, and it runs hourly during business hours.

Any ideas on what could be going on here?

Thanks,
David

RT 3.8.1

I need to set up a status board - something like the displays at airports.
The board needs to auto-login on startup as a particular user.

I found this:

http://requesttracker.wikia.com/wiki/PersistentSessions

Which is close but it will affect all users. I’m looking to do this for
one user only.

Is anyone aware of an extension that works as a status board or info board?

Pain is temporary. It may last a minute, or an hour, or a day, or a year,
but eventually it will subside and something else will take its place. If
I quit, however, it lasts forever.

Is anyone aware of an extension that works as a status board or info
board?

Following up on this, is there any way to get RT to go directly to a
specific search result (instead of home page) and also directly to the
history display of a ticket, both from the login?

Thanks!

Pain is temporary. It may last a minute, or an hour, or a day, or a year,
but eventually it will subside and something else will take its place. If
I quit, however, it lasts forever.

Not sure about the persistant login plugin, never tried it. We do something
similar where we rely on our browser for logging in a user and keeping it’s
session active/remember the session if it restarts. But the link you’ve
posted seems pretty nice and I think it would do the trick, since it works
for RT 3.8 it should also work for RT 4.

As for the URL’s.

If you know the URL then you can go directly to a specific ticket/tab of a
ticket:

/Ticket/History.html?id=2113
/Ticket/Display.html?id=2113

When you’re already logged in you’ll go directly to this URL.

As for search results, you can modify the home page to only show the search
results that you want for that account.
Or, you could simply copy the exact URL for a search result and your
browser will open that page (assuming persistant login is working).

//Search/Results.html?Format=‘<a%20href%3D"%2FTicket%2FDisplay.html%3Fid%3D__id__">id<%2Fa>%2FTITLE%3A%23’%2C%0A’<a%20href%3D"%2FTicket%2FDisplay.html%3Fid%3D__id__">Subject<%2Fa>%2FTITLE%3ASubject’%2C%0A’CustomField.{Ticket%20Type}‘%2C%0A’CustomField.{Ticket%20Prioriteit}’%2C%0A’QueueName’%2C%0A’Due’%2C%0A’ExtendedStatus’%2C%0A’UpdateStatus’%2C%0A’Bookmark’&Order=ASC|ASC|ASC|DESC&OrderBy=CustomField.{Ticket%20Type}|CustomField.{Ticket%20Prioriteit}|Due|LastUpdated&Query=%20Owner%20%3D%20’CurrentUser’%20AND%20(%20Status%20%3D%20’new’%20OR%20Status%20%3D%20’open’)&RowsPerPage=50

Another option is to use the self service portal, it’s a minimalistic view
for RT which might suite your needs a little more (shows tickets that
belong to that user):

/SelfService/

Not sure if this is what you meant but I hope it helps.

– BartOp 28 november 2011 23:24 schreef Yan Seiner yan@seiner.com het volgende:

On Mon, November 28, 2011 2:05 pm, Yan Seiner wrote:

Is anyone aware of an extension that works as a status board or info
board?

Following up on this, is there any way to get RT to go directly to a
specific search result (instead of home page) and also directly to the
history display of a ticket, both from the login?

Thanks!


Pain is temporary. It may last a minute, or an hour, or a day, or a year,
but eventually it will subside and something else will take its place. If
I quit, however, it lasts forever.


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston TBA

Hello Yan,

Are you still struggling with setting up auto-login, go to search and
refresh page?

Try link like the following as a start:

http://localhost:8888/?user=root&pass=password&q=general

In RT 4 it logs in and redirects to the search.On Tue, Nov 29, 2011 at 2:24 AM, Yan Seiner yan@seiner.com wrote:

On Mon, November 28, 2011 2:05 pm, Yan Seiner wrote:

Is anyone aware of an extension that works as a status board or info
board?

Following up on this, is there any way to get RT to go directly to a
specific search result (instead of home page) and also directly to the
history display of a ticket, both from the login?

Thanks!


Pain is temporary. It may last a minute, or an hour, or a day, or a year,
but eventually it will subside and something else will take its place. If
I quit, however, it lasts forever.


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston TBA

Best regards, Ruslan.