close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Logon does not open its protected webpage

Thread began 6/05/2018 6:58 am by randyrie405335 | Last modified 6/05/2018 10:19 am by Ray Borduin | 673 views | 1 replies |

randyrie405335

Logon does not open its protected webpage

re: Mac OSX v10.11.4, PHP v5.5.31, DWCS6

My logon & restricted web pages (using MySQLi server behaviors) work fine on my localhost but not on my host site (PHP 5.6.27). So I know that I've configured the pages' behaviors correctly I am enclosing screen shots showing their configurations. Please let me know if you see any error setting them up? Also, if they are configured properly, do you have any ideas why the entered logon credentials simply disappear when the submit button is clicked?

Sign in to reply to this post

Ray BorduinWebAssist

If it works on localhost and not the live that implies it is a server configuration issue. Most likely session variables aren't being stored properly.

The solution is usually to contact your hosting provider and make sure the session_save_path setting in your php.ini file is set to a directory that exists and has the proper permissions.

To test if it is a general session storage issue, create two pages. One that sets a session variable like:

php:
<?php

@session_start();
$_SESSION["works"] = "true";
?>



Then create the second page to write the session variable with:

php:
<?php

@session_start();
die(
$_SESSION["works"]);
?>



If you visit the first page and then the second... the second page should say "true". If it is blank or shows an error that means your session_save_path is wrong and most likely your hosting provider will have to fix it for you.

Sign in to reply to this post
Did this help? Tips are appreciated...

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