close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Logout Doesn't Seem to Clear Cache

Thread began 7/03/2013 2:28 pm by anonymous | Last modified 7/05/2013 5:02 pm by anonymous | 483 views | 4 replies |

anonymous

Logout Doesn't Seem to Clear Cache

Hi. When a user logs out of the customer portal I created with Data Bridge and eCart, he is directed back to the login page. However, when he tries to log back in to the portal without clearing the history, he is directed to the failed login at "login.php?failedLogin=1." He has to clear his history before it works.

Please help. Attached are the login and logout pages for your reference.

Thank you!
Heather

Attached Files
login.php
logout.php
Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

anonymous

Thanks, Jason. Below in the private message section is the info you requested. I'm still testing the entire site, so I may be making some small updates here and there but nothing that should affect your troubleshooting.

Sign in to reply to this post

Jason ByrnesWebAssist

i corrected the problem by adding the following code to line 1 of the login page:

php:
<?php

  
@session_start();
    
$varQS ""
    if(isset(
$_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "") {
        
$arrQS explode("&"$_SERVER["QUERY_STRING"]);
        foreach(
$arrQS as $k => $v) {
            
$arrVar explode("="$v);
            if(
$arrVar[0] = "accesscheck" && $arrVar[1] = "%2Fportal%2Flogout.php%3F") unset($arrQS[$k]);
            if(isset(
$_SESSION['WASA_accesscheck']) && $_SESSION['WASA_accesscheck'] = "%2Fportal%2Flogout.php%3F") unset($_SESSION['WASA_accesscheck']);
        }
        if(
sizeof($arrQS) > 0) {
            
$varQS "?".implode("&"$arrQS);
        } 
        
$_SERVER["QUERY_STRING"] = $varQS;
    }
?>
Sign in to reply to this post

anonymous

Thanks, Jason. That worked. Hope you have a nice weekend!

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