SpinOneSolutions | I waste my time so that you don’t have to…

Jan/11

28

Drupal sess_read() causes logout

Affects: Drupal 6.20

If you try to read a value from a session that has not been set your Drupal user will be logged out.

Example:

sess_write('myValue',TRUE);
echo sess_read('myValue');

OK

echo sess_read('myValue');

NOT OK, user is logged out.

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Kirtsy
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati

RSS Feed

No comments yet.

Leave a comment!

«

»

Find it!

Theme Design by devolux.org