Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
session functions from session.inc, like session_save_session
in D6, have been renamed to drupal_* equivalents, like drupal_save_session()
in D7.
This should be added to the update guide at http://drupal.org/update/modules/6/7
Comments
Comment #1
jhodgdonMoving to correct issue queue. We manage the update docs in the main Drupal issue queue. They don't get noticed here...
Comment #2
jhodgdontagging
Comment #3
dmitrig01 CreditAttribution: dmitrig01 commentedComment #4
dmitrig01 CreditAttribution: dmitrig01 commentedhttp://drupal.org/update/modules/6/7#session_rename
Comment #5
yched CreditAttribution: yched commentedThe D6 and D7 code samples are the same :-)
D6 :
drupal_save_session(TRUE);
D7:
drupal_save_session(TRUE);
+ "All session functions starting with sess_*... " doesn't seem like a good regexp for session_save_session() ?
Comment #6
jhodgdonSounds like this needs a bit of work then?
Comment #7
dmitrig01 CreditAttribution: dmitrig01 commentedoops, sorry
Comment #8
dmitrig01 CreditAttribution: dmitrig01 commentedComment #9
jhodgdonLooks like the code sample is fixed...
#5 also mentioned:
"All session functions starting with sess_*... " doesn't seem like a good regexp for session_save_session() ?
Comment #10
jhodgdonI fixed http://drupal.org/update/modules/6/7#session_rename so that it has the correct d6 and d7 function names.