RE: [IUG] Adding a login box to our library homepage


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
It seems to me that if you use the patron API to verify people, the login
then works as it should. I haven't tested all the ins and outs of this, but
once you have verified a patron through patron API, as long as the same
session is still active, they will log in to MyMill and everything will work
properly.

Now, how you set that up to work smoothly and transparently is a bit
trickier, and if I figure it out, I will share it here.

MJ Gardner
Coordinator of Web Services
West Blomfield Township Public Library
gardnerm at wblib dot org
www.wblib.org



-----Original Message-----
From: innopac-bounces at innopacusers dot org
[mailto:innopac-bounces at innopacusers dot org] On Behalf Of Knox,Sheryl Cormicle
Sent: Thursday, November 09, 2006 7:37 AM
To: IUG INNOPAC List
Subject: RE: [IUG] Adding a login box to our library homepage

Good morning,

I am resurrecting this thread from this summer. We are playing with an opac
login form on our home page and have constructed it the way this thread
recommended. We also noted that intermittently, the login will not "stick"
and the patron will have to log in again.

Additional info:

In both IE 6 and Firefox 1.5 the following steps will reliably reproduce the
problem behavior:

Open a fresh browser instance, go to the site hosting the external login
form, submit the account sign in form. Login is successful and initial
patron screen appears. Click on link for checked out items, hold, or fines,
and get "validation has expired" with form to log in again.

Note: In that same browser session, if you just go back to the site hosting
the external form, sign in again, that login is successful and will "stick".

Note: If you open a fresh browser session, go to your opac first (just
display the front page, don't log in or do anything) then visit the site
hosting your external form, use the login from the external site, that login
will also work and "stick" without the "validation has expired" error.

So, my conclusion, is that some page of the opac must be displayed in the
browser before a login will remain validated for that session. I think that
points toward session cookie issues. If my memory of prior testing serves me
right, I'm pretty sure that visiting any opac page will set a session
cookie. Apparently without that session cookie being set before a log in
occurs, the log in will not remain valid.

My problem is that I have no idea how to get around this. Does this spark
any ideas from anyone else?

. . . . . . . . . . . . . . . . . . . . .
Sheryl Cormicle Knox
Technology Director
Capital Area District Library
517.367.6347
www.cadl.org

________________________________

From: innopac-bounces at innopacusers dot org on behalf of Darryl Friesen
Sent: Fri 8/4/2006 3:29 PM
To: 'IUG INNOPAC List'
Subject: RE: [IUG] Adding a login box to our library homepage




> The problem I am having is that after we login, and then choose an
> option from "My Account", the system often kicks us back to the
> catalog login page, even though I am putting the secure url as the
> action in the form. We are assuming it is because we are using the
> ssl option in the opac. It would be a great feature for our patrons,
> but it doesn't look like it's going to fly...

On my To-Do list for the last several months was to send an email to this
group asking if anyone else had experienced this exact behaviour. Guess I
can scratch that off my list now. :)


We too experience the same behaviour. I've found that it often "sticks" the
second time (i.e. failure as above; return to your external auth form and
try again; now try on of the "My Account" options)

I'd also love to hear from anyone trying this, especially if a solution has
been found.


- Darryl

----------------------------------------------------------------------
Darryl Friesen, B.Sc., Programmer/Analyst Darryl dot Friesen at usask dot ca
Information Technology Services Division, http://gollum.usask.ca/
University of Saskatchewan Library
----------------------------------------------------------------------
"Go not to the Elves for counsel, for they will say both no and yes"



--
This message was distributed through the Innovative Users Group INNOPAC list
Public replies: INNOPAC at innopacusers dot org Update your subscription options:
http://innopacusers.org/mailman/listinfo/innopac






--- StripMime Report -- processed MIME parts --- multipart/mixed
text/plain (text body -- kept)
application/ms-tnef
---
--
This message was distributed through the Innovative Users Group INNOPAC list
Public replies: INNOPAC at innopacusers dot org Update your subscription options:
http://innopacusers.org/mailman/listinfo/innopac