# When logging into the dCDR you are immediately logged back out

**Issue:** When using the SanteDB dCDR user interface from different machine (the one not running the dCDR) you are immediately logged out.

**Applies To:**

* SanteDB Server Disconnected Clinical Data Repository (dCDR)
* SanteDB Server Web Host Container (www)

**Symptoms:**

* You are logged in but immediately logged back out

**Cause:** This issue is caused when there is a timezone mismatch between the host running the dCDR, the central iCDR and the machine accessing the service. This is due to the dCDR sending the browser an expiration time expressed in the wrong timezone.

**Solutions:**

* Ensure that the timezone matches the dCDR server and the web browser being used to access it.
* Ensure that the time on the iCDR server and dCDR match


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.santesuite.org/knowledgebase/sdb-kb/kb016-when-logging-into-the-dcdr-you-are-immediately-logged-back-out.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
