Hi,

I am a recent newcomer to Drupal and have been having some issues with users logging in and registering when the have cookies blocked, and other security settings enabled. I was wondering if there was a way to register and log the user in without using cookies? If anybody could to shed any light as to how this could be programmed that would be of great help.

Thanks,

rhughes

Comments

carnevaledesign’s picture

No.. it is impossible. Drupal will have no way of telling who you are and if you are logged in unless cookies are enabled.

rhughes’s picture

Is possible to some how store a session without cookies but using the database?

wr5aw’s picture

How does the database know who you are when you go to the next page? Yes, sessions can be stored in a database. But you must still store cookies on the user PC for identification.

You simply can not have authentication without using cookies.

jimjxr’s picture

Java's JSP has a feature where you append the user identifier (the stuff in cookie) into a url parameter, this would allow the system to know who you're after you login. Of course you need to make sure all url on the page will be rewrtitten to include this parameter after user login.

dman’s picture

As documented for PHP here:
http://nz2.php.net/manual/en/session.idpassing.php

You can try that, but I don't know it anyone's tested it with Drupal. From the docs, it claims that PHP wil enable this feature choice totally transparently! Turn it on and see what happens.