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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Losing Log In

Thread began 4/04/2011 2:37 pm by gpaul | Last modified 4/04/2011 4:46 pm by Jason Byrnes | 1088 views | 9 replies |

gpaul

Losing Log In

I'm not sure where to start looking for this or what code to put up for anyone to view.

I am loosing the log in, meaning after I log in, it takes me to the page that I am redirected to after a successful log in, however when I click on a link to another page that being logged in is required, the log in page pops up and requires I re-log in.

I just changed servers, so I am thinking the error is being caused by that.

Can someone point me where to look?

Gary

Sign in to reply to this post

Jason ByrnesWebAssist

first thing is to test the servers session management settings, use the session test page from the following URL:
showpost.php?p=23826&postcount=2

Sign in to reply to this post

gpaul

This is the opening page
To Test you servers session management:
1) Click here to Set Session variables

The link above uses a URL variable to trigger setting a session variable

2) Click here to test session variables

This link does not contain the URL variable, so it will not set the session variable again, but the session variables value should not be changed.

Session Test = test
(When the page is first loaded, the session variable test will = NULL, when you click the first link, the session variable test will be set to test. Clicking the second link will only reload the page, the session variable test should still equal test, if it equals NULL, your server has a problem with session management.

Session ID = kpfuvge3ilmt22aeq66tcq4v56
(NOTE: if sessions are working correctly, the session ID should not change.)

***This is the first test***
To Test you servers session management:
1) Click here to Set Session variables

The link above uses a URL variable to trigger setting a session variable

2) Click here to test session variables

This link does not contain the URL variable, so it will not set the session variable again, but the session variables value should not be changed.

Session Test = test
(When the page is first loaded, the session variable test will = NULL, when you click the first link, the session variable test will be set to test. Clicking the second link will only reload the page, the session variable test should still equal test, if it equals NULL, your server has a problem with session management.

Session ID = kpfuvge3ilmt22aeq66tcq4v56
(NOTE: if sessions are working correctly, the session ID should not change.)

***This is the second test****
To Test you servers session management:
1) Click here to Set Session variables

The link above uses a URL variable to trigger setting a session variable

2) Click here to test session variables

This link does not contain the URL variable, so it will not set the session variable again, but the session variables value should not be changed.

Session Test = test
(When the page is first loaded, the session variable test will = NULL, when you click the first link, the session variable test will be set to test. Clicking the second link will only reload the page, the session variable test should still equal test, if it equals NULL, your server has a problem with session management.

Session ID = kpfuvge3ilmt22aeq66tcq4v56
(NOTE: if sessions are working correctly, the session ID should not change.)

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a copy of the login success page and a copy of one of the pages that you are having the problem with so I can look at the code,

Sign in to reply to this post

gpaul

Jason

Thank you. The admin page is the success log in page and the counties choose is the page that is requiring the re-log in

Gary

Attached Files
WA_admin_choose.zip
Sign in to reply to this post

Jason ByrnesWebAssist

try adding the following at line 1 of the problem page:

php:
<?php @session_start(); ?>
Sign in to reply to this post

gpaul

Jason

That did not solve the problem. I should have noticed that before anyway.

Gary

Sign in to reply to this post

Jason ByrnesWebAssist

can you add the following code to the login page after the body tag and to one of the problem pages after the body tag also:

<pre><?php var_dump($_SESSION); ?></pre>

this wil lwrite the session contents to the page.

also, what is the full url in the address bar when you get to the admin page, and what is the full URL in the address bar when you get directed back to the login page to re login? It important that I have the full URL including the domain

Sign in to reply to this post

gpaul

This is what I see with the code inserted

array(7) {
["user_name"]=>
NULL
["firm_name"]=>
NULL
["password"]=>
NULL
["firm_id"]=>
NULL
["state"]=>
NULL
["county_id"]=>
NULL
["test"]=>
string(4) "test"
}


This is the url when asked to log in again

law_firm_LogIn.php?accesscheck=%2Fadmin.php%3F

This is the url for the admin page

admin.php?&accesscheck=%2Fadmin.php%3F

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post
loading

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