Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Cannot send session cache limiter - headers.....
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

w.korsten
Novice

Netherlands
14 Posts

Posted - 13 Aug 2007 :  23:37:10  Show Profile  Visit w.korsten's Homepage  Reply with Quote
Designing website in D.H.E. (3.3) and working with PHP sessions has some problems.

I get an error "Cannot send session cache limiter - headers already sent"

This is because D.H.E. produces an emty line in the headsection:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<meta http-equiv="Content-Style-Type" content="text/css">


What is the reason and purpose of this emty line? and how can I solve it (every time editing in a texteditor is no great option)

Greetz

Edited by - w.korsten on 13 Aug 2007 23:37:43

s.dav
Site Admin

Italy
3364 Posts

Posted - 14 Aug 2007 :  11:50:13  Show Profile  Visit s.dav's Homepage  Reply with Quote
I suggest you to put your PHP code into the first section of the page scripts named "Page Top Code" and not in the header.
When you play with HTTP headers you MUST do this before any other things.

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000