close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Redirect Not Quite Right

Thread began 11/02/2012 10:21 am by johna1964 | Last modified 12/17/2012 11:01 am by johna1964 | 2251 views | 9 replies |

johna1964

Redirect Not Quite Right

Hi,

I am trying to figure out why the checkout rule is making the login page redirect to the checkout page. I have the Web Assist Authenicate User server behavior redirecting to login.php?loggedIn=1 and login.php?failedLogin=1 as appropriate.

I have pass query string on redirect selected and go to previous URL (if it exists deselected.

It should not go to the checkout.php page, but work as it does with a direct log in from the log in link.

I've been wrestling with this issue for a while now.

The page is included.

Thank you for any help.

johna1964

Attached Files
login page.zip
Sign in to reply to this post

Jason ByrnesWebAssist

try adding the following code at line 1:

php:
<?php

if(isset($_SERVER['QUERY_STRING'])) {
            
$_SERVER['QUERY_STRING'] = str_replace("accesscheck","previous",$_SERVER['QUERY_STRING']);
}
?>
Sign in to reply to this post

johna1964

Hi Jason,

It's still going to the the checkout page.

I need it to stay on the login page, with the show region server behavior. From that point they will be able to select the cart link and go to the cart page.

Thank you.

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

you have a ticket open for a cart problem, i will look at this issue at the same time.

Sign in to reply to this post

johna1964

Sounds like a plan.

Thank you.

Sign in to reply to this post

johna1964

Redirect not working

Hi,

The redirect is not working again.

The pages I think you changed during the ticket session are included here.

Thank you for your help.

johna1964

Attached Files
redirect_issue.zip
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

johna1964

And Again

hi Jason,

The same issue is occurring again. I have no idea why.

Please help.

Thank you!

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/security_assist/helper_php.php file, i changed line 51 - 53:
if (isset($_GET['accesscheck'])) {
$WA_Auth_Parameter["successRedirect"] = urldecode($_GET['accesscheck']);
}


to:
if (isset($_GET['accesscheck'])) {
//$WA_Auth_Parameter["successRedirect"] = urldecode($_GET['accesscheck']);
}

so that it would not use the previous URL if it existed on login redirect.

Sign in to reply to this post

johna1964

Jason,

Thank you so very much!

Happy Holidays!!

johna1964

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