Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Log in system timing out

New Here ,
Apr 18, 2007 Apr 18, 2007
Hi there,

I have been creating a website with a log in system and it all seemed to be working fine on my own testing machine, but as soon as i uploaded the files and created the associated databases on my web server, it doesn't seem to be working.

Firstly, i have a create user page which creates a username and password. This is working as i have checked the records in the database to see that the new user is created,

Then i have an initial log in page, where the new user enters in their username and password. When they submit the form, a session variable should be created using dreamweaver's log in script. however, the next page asks for them to log in again (the redirect page for wrong password etc...). When i try and input the username and password again here and submit, it seems to crash out, usually taking about a minute to tell me there has been a timeout error.

Is there some kind of setting the web hosting provider might have that would prevent the use of session variables?
there is another problem with one of the other pages that leads me to think that it is definately something to do with passing over session variables...
TOPICS
Server side applications
230
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 18, 2007 Apr 18, 2007
I've been looking at this for a while and i'm sure it's all down to not being able to pass session variables. I did a couple of test pages and uploaded them to test this out and they worked fine so i have narrowed it down to one page that is causing the problem. I have included the code for people to have a look at....

I've had a good look through it, redone the log in server behaviour, but still no luck...

Any help would be much appreciated,

Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 26, 2007 Apr 26, 2007
LATEST
Hi, er, I'll just call you dhewui...

Don't know if this will help, but I had a similar problem. Solved it by making sure there's a session_start line on the page where you need to use the session variable, e.g., the first 3 lines of my update page are:

<?php require_once('Connections/connection.php'); ?>
<?php
session_start();

Good luck!
wozza
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines