close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Frustration with login logic...

Thread began 12/07/2018 2:20 pm by Steve | Last modified 12/11/2018 11:25 am by Ray Borduin | 47 views | 6 replies |

Steve

Frustration with login logic...

Hello,
I've never had a smooth result with this Behaviour...

Create simple login page, save some session values and use another security feature to check for the rules proper presence and re-route to another page if fails.

But it never works.

In the current instance, it works in some cases not in others.
For instance, I try with one of the logins at a clients office. FAIL
Try a second login credential which I know is correct. FAIL
Then trying another credential it works. This is not good.

Another case was it worked after clearing all Session values but echoing those to the screen showed there were none on consequence.

Running the latest DW as well as the latest DataBridge.

Sign in to reply to this post

Steve

FTP Credentials attached as well as login credentials

Sign in to reply to this post

Steve

Issue not happening today in my local environment.

Expecting it was related to Session values but the inconsistency, is hard to recreate.

Sign in to reply to this post

Ray BorduinWebAssist

This has something to do with how your server redirects to the default page. You can see that you aren't specifying the default page in the url (index.php). This causes the form to not submit properly because there is no action specified.

You can probably fix the problem by adding action="index.php" to your <form> tag.

That is probably why it seems inconsistent to you, sometimes you visit with the page specified and other times you are just browsing to the directory and the web server is displaying the page.

Sign in to reply to this post

Steve

Not sure why your saying there is no default page. If you go to the directory it properly loads the index.php page :

http://orangecountyoutboards.com/admin18/

Sign in to reply to this post

Ray BorduinWebAssist

I'm saying in the url:
http://orangecountyoutboards.com/admin18/

You don't specify the page. So the web server is redirecting to the default page. The issue is that it doesn't forward form posts as it redirects, so when your form also posts to the url without the default page specified, the form data is ignored and doesn't work.

That is why a solution of changing the form action so that the page is specifically specified in the url would likely solve the problem.

You will see now that the login page works when you go to:
http://orangecountyoutboards.com/admin18/index.php

but not when you go go:
http://orangecountyoutboards.com/admin18/

If the default page isn't specified (in the browser, not in your hosting) then that is causing the issue.

Sign in to reply to this post

Steve

I understand what you are saying Ray...

Thank you.

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