User login through token in URL in drupal 6 I have a drupal 6 website and I would like to implement the functionality to allow user of a particular user role to login into site using the token value in the url.

I have user role "SAP" in the website and will send a link to user in mail "www.example.com/user/token". When user click on this link, I want allow user to login into site automatically.

I have searched through into google and drupal site but I did not find any solution.

Thanks in advance.
urllogin module provides a way to transparently log users into the web site when they follow a link.

Give the “login via URL” permission to users who are allowed to log in with this module.

Alternatively you can try this module also

Easy Login allows the admin to give a permission to users so they are able to log in via an url.

Hope it will match your requirement !!