close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

I can't login

Thread began 7/22/2010 10:30 pm by chicagowebdesigner334937 | Last modified 7/23/2010 2:00 pm by chicagowebdesigner334937 | 2948 views | 25 replies

Jason ByrnesWebAssist

I don't think that is it either though.

If i access the sessionTest.php page at:
sessionTest.php

it still doesn't test successfully. You will really need to push on the host to fix the issue.


the session test page works like this:

There is an if statement at the top of the page to set a session variable if the querystring variable test is equal to test

php:
<?php

if (!session_id()) session_start();
if ((isset(
$_GET['test']) && $_GET['test'] != ""))     {
  
$_SESSION["test"] = "test";
}
?>




The first link has the querystring variable to set the session:

php:
<a href="<?php echo((isset($_SERVER["PHP_SELF"]))?$_SERVER["PHP_SELF"]:""?>?test=test">Click here to Set Session variables</a>




the second link just reloads the page:

php:
<a href="<?php echo((isset($_SERVER["PHP_SELF"]))?$_SERVER["PHP_SELF"]:""?>">Click here to test session variables</a>



if sessions where set properly on your server, the session variable would not lose it's values when the page reloads.

The phpinfo page doesn't prove anything except that there are php.ini settings that _should_ enable session management.

The code on the sessionTest.php page proves that session management is not functioning properly.

The facts are:
1) When a session is started, the session ID should not change.

2) The session id is changing every time the sessionTest.php is loaded. This is not correct behavior.

2) A session variable should maintain state until the browser is closed.

3) The Session being set by the sessionTest.php page is not maintaining state correctly

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