php-windows Digest 7 Jul 2006 16:27:04 -0000 Issue 3007
Topics (messages 27062 through 27063):
Re: single sign on
27062 by: Warren Vail
Dynamic HTML table sort with PHP
27063 by: Vandegrift, Ken
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
If you are at the mercy of your ISP (He controls the session life time
setting), and you are not happy with the timelimit he has chosen, you
can override it by adding your own session processing routines.
http://us2.php.net/manual/en/function.session-set-save-handler.php
You can hard code the session life for the garbage cleanup routine, in
your handler routines, particularly if you use your own database table
for saving session data (there are lots of good books out there that
describe how using mysql).
I've even set up different applications with different session life
span, using different mysql tables for each app (and different routines,
of course).
Warren Vail
-----Original Message-----
From: Dale D. Attree [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 10:58 PM
To: Martin Staiger; [email protected]
Subject: RE: [PHP-WIN] single sign on
Make use of cookies and set the expiry of the cookie to equal 8 hours.
In theory, this should create a cookie every day, therefore the user
will only require to logon once a day.
-----Original Message-----
From: Martin Staiger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 8:34 PM
To: [email protected]
Subject: [PHP-WIN] single sign on
dear group,
how can we find out, if a user has a valid session on his windows
client? We
would like to use this session to authenticate in our web-application.
Will we need active-x controls? Thanks, Marc
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Good Day List,
Does anybody know of a pure PHP way to make table header cells trigger a
column sort?
If I have a table header that contains a link that when clicked
resubmits the page to itself with the proper sort query variables (e.g.
index.php?sortBy=ORDER_ID&sortOrder=ASC), I want PHP to rewrite the
sortOrder query string to be "sortOrder=DESC" and then "sortOrder=ASC"
the next time column heading is clicked. This way, the column will sort
like windows columns and users will feel "at-home" with the process.
I can write some JavaScript that will dynamically rewrite the href
attribute of the link, but I was hoping for a pure PHP solution in case
JavaScript is disabled.
Thanks.
Ken Vandegrift
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Web Administrator
Sharis Mgmt. Corp
--- End Message ---