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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Issue with sessions and SSL

Thread began 7/19/2013 3:10 pm by tn228553 | Last modified 7/19/2013 4:21 pm by Jason Byrnes | 188 views | 3 replies |

tn228553

Issue with sessions and SSL

The following pages uses sessions to make sure the user is logged in (SecurityAssist) and then a record set to populate form data and finally DataAssist to insert a record into a table. This works fantastic on a regular http:// URL but when I reference the URL using HTTPS, peform an insert and then the script access the $insertGoTo portion of the script (it returns to itself to enter another record) it totally freezes up and timeout. I get a 500 Internal Server Error and when I dig down into the PHP error log it simply says: [19-Jul-2013 12:58:32 America/New_York] PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\htmobile\tech_hca_parts.php on line 4 with Line 4 being the closing bracket for session_start function. That is the extent of what I can find. Any ideas? Attached is the file.

Sign in to reply to this post

Jason ByrnesWebAssist

sounds like there is an issue on the SSL Side with setting session variables.

use the attached Session test page to ensure that the server can set sessions, if the test fails, you will need to contact the host to have them investigate.

Attached Files
sessionTest.php.zip
Sign in to reply to this post

tn228553

No Luck

Sessions look good, occasionally I actually get the page back if it does not timeout first. The 500 error is the timeout. Do you see anything in the code that could possibly cause a problem?

Sign in to reply to this post

Jason ByrnesWebAssist

try changing:

<?php
if (!isset($_SESSION)) {
session_start();
}
?>

to:
<?php
@session_start();
?>

Sign in to reply to this post

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