close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Success Redirect Not Working

Thread began 3/21/2013 8:03 am by erin4435 | Last modified 3/26/2013 7:13 am by Jason Byrnes | 2798 views | 10 replies |

erin4435

Success Redirect Not Working

Hello,
I have set up my simple security assist pages, and confirmed that everything was working fine. I then proceeded to change the success redirect page via the authenticate user option. After doing so, I have tested the login and it seems to just refresh the page (doesn't redirect at all). Is there more to it than just changing the redirect page? Thanks for any help! I have attached my login page in case that will help.

Sign in to reply to this post

Jason ByrnesWebAssist

change lines 3 - 5:

php:
?>
<![CDATA[@@OldIncludeCode@@]]>
<?php




to:

php:
?>
<?php
Sign in to reply to this post

erin4435

Thank you so much, that worked perfectly!

Sign in to reply to this post

erin4435

I'm afraid I spoke too soon. That did work temporarily, but what I also needed to do was set the redirect page to be accessed only after login. When I used the page manager to set that rule, I can no longer access that page after logging in. Is there a different way to do this?

Also, I don't know if it's related, but I also tried to create a link for the userupdate page, and, even if previously logged in, I am unable to access this page. It always takes me back to the login page. Thanks for your help!

Sign in to reply to this post

Jason ByrnesWebAssist

what access rule did you use?

you should be applying the Logged Into <your user table> access rule

Sign in to reply to this post

erin4435

Yes, I did have it set to Logged Into (table). Just to be sure, I just restarted and recreated the Security Assist pages, and I am still getting the same results. If I remove the rule, it redirects fine. When I set the rule, I just get the page reloading back to empty login page.

Sign in to reply to this post

Jason ByrnesWebAssist

the server may not be properly saving sessions on login.

use the session test page from the following thread:
showpost.php?p=23826&postcount=2

if the test fails, you will need to contact the host to have them correct the problem, it is most likely the session.save_path setting in the php.ini file.

Sign in to reply to this post

erin4435

Thank you. I did go ahead and run this on my remote server, and there does appear to be a problem, so I am addressing that now. Though, what I have been doing is trying to test this on my local server, which doesn't appear to be running the session test at all. Could the fact that I am trying to use my local server affect the way the page has been behaving? Thanks for all of your help!

Sign in to reply to this post

Jason ByrnesWebAssist

you should be able to test the pages on your local server, but if the local server is having a problem running the session test page, it sounds like you may issues on the local server too.

Sign in to reply to this post

erin4435

I apologize, but I'm afraid I am still having problems with this. I have contacted my host a couple times, and they say that they are sure it is not an issue with the server or my php.ini file. I had uploaded the session test page here:

session test.php

It appears to be working, but still no luck with my login. If it helps, the error I am now getting after log in while it's trying to redirect is shown in the file below.

Thank you again for all the help! I'm afraid I am at a complete loss as to what to do, and I am at the deadline.

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