|
|
 |
| FAQs
& Hints |
 |
|
I get the error Cannot send session .......
Category: PHP Generic
You may achieve an error similar to this:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:InetpubwebpubMXlogin.php:2) in C:InetpubwebpubMXlogin.php on line 4
This happen because php do not accept html code between the php code which stays before the html tag, even a single space is considered as html.
Sometimes it may happen that DW insert a space char after the connection include string which is the cause of this error.
Do the following: switch in code view and check that after the closing php tag after the connection string there is not a space. It is easier to see it if you point the cursor at the extreme right side of this line.
Example:
<-- here it may be a space.
If it is so just remove it. |
|
|
|
|
|
|