View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

PHP 5 DataAssist & Sessions

Thread began 5/08/2009 10:55 am by fragop363190 | Last modified 5/08/2009 10:55 am by fragop363190 | 761 views | 0 replies

fragop363190

PHP 5 DataAssist & Sessions

Ok guys i run into a problem and just wanted to share the solution to all the people that might be running to it.

It is not a DataAssist problem so whoever might think it is and has allready run to it here is its solution.

This mostly happens on servers with PHP5 but run to it on 1 website with PHP4 too.

If you have "headers allready sent" errors in your admin pages (that is what im testing now) that talk about sessions or cookies set and the line that error gives u is either in HelperPHP.php file or your main document it is a problem with the "Session Auto Start" feature of php. It is very easy to overcome it.

Open your .htaccess file of your root web directory or on the directory you need it ( i use root web cause i don't want auto_start interfering with most of my scripts, prefer to start session in code) and write a line like this :

php_value session.auto_start 0

Ofc save it afterwards, close your browser and reopen it. You will see you won't get any errors any more.

Hope this helped cause it took me a bit to find out the problem and it would save some valuable time of some early developers.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...