How handle OR save session in external file in drupal?

Hello Everyone!
If you are facing problem in session handling(external file) in your drupal website, then don’t worry now because i am here sharing you a small but important information for you.
Please include these files and variable at top of your external files given in below:

//code
require_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); // This makes all Drupal functionality available to my script

drupal-session
Enjoy Code!

9 Replies to “How handle OR save session in external file in drupal?”

  1. It is the best time to make some plans for the future and it is time to be happy.
    I’ve read this post and if I could I wish to suggest you some interesting things or advice.
    Maybe you could write next articles referring to this article.
    I wish to read more things about it!

  2. I blog quite often and I seriously thank you for your content.
    This article has really peaked my interest. I am going to book mark your site and keep checking for new information about once a week.
    I opted in for your Feed as well.

  3. Pingback: Google
  4. I’m really impressed together with your writing talents as neatly as with the format for your blog.
    Is this a paid subject or did you modify it yourself? Either
    way keep up the nice quality writing, it is uncommon to peer a great weblog like this one these days..

Leave a Reply

Your email address will not be published. Required fields are marked *