By rhughes on
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
No.. it is impossible.
No.. it is impossible. Drupal will have no way of telling who you are and if you are logged in unless cookies are enabled.
Session stored in DB?
Is possible to some how store a session without cookies but using the database?
How does the database know
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.
I think it is possible in a limited way
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.
yep
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.
.dan. is the New Zealand Drupal Developer working on Government Web Standards