Tired of logging in again and again to a Drupal site that keeps kicking you out? You can modify session length, i.e. the length of time that a logged-in session stays logged in, via the ini_set('session.cookie_lifetime'... line in the site's settings.php file. See details in Forum Finds: Modify length of user login sessions.
Reply to comment

Re: Drupal Mystery #1: Teasers
Er, I don't think things are so simple. What I wish for above is per-node variable-length custom teasers, for 5.x (the target of the article).
The default method of setting site-wide teaser length doesn't allow per-node variation.
The break tag, which was causing me some trouble at the time, does generally work for me these days. I'll add an update note to the article. But while that takes care of variable length, it still doesn't fulfill the wish for custom teasers (i.e., custom text, not the lopped-off first part of the main body text).
Finally, I don't know whether you count third-party modules as part of Drupal for purposes of your reply, but they do offer some added flexibility. And some problems as well. Also, as mentioned, as non-core add-ons they don't find support among third-party blogging apps, which is too bad.
Now, I know things get much better in Drupal 6! My full wish is as follows:
A teaser setup for all appropriate nodes, that allows a choice between an automated teaser of custom length (either a globally-set default or a custom value), a teaser set by a "<!--break-->" tag (for those for whom that works), or a custom teaser. All part of core, so support tools like blogging clients will work with the teaser system.
Does D6 fully offer that? I don't know yet; will have to explore. But I know it at least comes closer, and that's a great thing!
Thanks for the input!
Reply
Learn Drupal, hands-on
Get the beginner-friendly ebook that teaches community site building via a live case study.







Cool! Thanks for figuring out about this!
You're really great~ I tried it out! And yay,...
Hello! I just would like to give a huge thumbs up for the great info you have here on this post...
I may not have a chance to test that for a while, but meanwhile I welcome commentary from anyone...
Hey,
Since I still see some links here, and the guide is quite good, I thought that I may...