close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

DataBridge server side include issues

Thread began 7/01/2015 6:26 am by mohammed.wajiro | Last modified 7/06/2015 1:52 pm by mohammed.wajiro | 936 views | 6 replies

mohammed.wajiro

DataBridge server side include issues

I have three pages. The first page (registerNew.php) contains a registration form designed with form designer. It has a secure page rule which allows only certain users have access to it. Moreover, it has dataassist insert record behavior with one of the fields points to a sessionid of SecurityAssist(foreign key).

The second page (reprint.php) contains links for displaying a page that contains the data from the registered records that matches that sessionid (filtered).

The third page (register_student.php) includes both pages and display only one at a time based on a condition. If a record that matches the sessionid does not exists in the database, display the registration form or else display the page that contain the links for displaying the information. My main aim for making it as such is to deny access to the registration form if a person is already registered.

I tested the whole setup on my local server and everything works as expected. But when I deployed the site on my host and try to access the third page without login, it shows a kind of warning about a header which is already included in helper_php.php (something like so). But if I login before accessing the page it works fine. I definitely know the warning has to do with the sessionid of the securityassist.

What I did is create another page and point the login page to it if authentication is successful. On that page I used server redirect behavior with trigger of’ before page load’ and directed it to that third page and that did the trick for me. But the major problem I am having is that if a user submits the registration form I get warning with the following messages: ‘Warning: Cannot modify header information - headers already sent by (output started at /home/ramatpo/public_html/portal/register_student.php:76 and Warning: Cannot modify header information - headers already sent by (output started at /home/ramatpo/public_html/portal/register_student.php:76) in /home/ramatpo/public_html/portal/registerNew.php on line 228) in /home/ramatpo/public_html/portal/webassist/forms/persist.php on line 13’. I don’t experience all these on my local server. Any help, suggestion or workaround is welcome.

Thanks.

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...