close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Auto Submit

Thread began 9/03/2011 10:03 am by AndyG | Last modified 9/06/2011 5:43 pm by AndyG | 1277 views | 3 replies |

AndyG

Auto Submit

Guys
I have a curious problem Im trying to resolve.
The simple question is how is it possible using SA to "auto-login"
That is with without requiring the user to hit the Submit button!

I created a page whereby the username/password fields were populated from the preceding registration page and using <body onload="this.form.submit();"> I believed this would auto-submit. But in fact all I achieve is a continuous looping page submit.

Im assuming this is caused by the body onload expecting to see an Action=URL as opposed to SA handling this.

How, therefore, Can I achieve this with SA?
Can you suggest a solution to resolve this?

regards
AndyG.

Sign in to reply to this post

Jason ByrnesWebAssist

In the Security Assist wizard, there is an option to select to include "remember me" and "auto login"

If you have Security Assist 1.x, you will need to make sure to install cookies toolkit installed (included with Security Assist 1) for these options to function correctly.


The way "Remember Me" and "Auto Login" works is this:

When the Remember Me checkbox is clicked, the user name and password are stored in cookie variables. The user name and password text boxes are set to use those cookies as the initial value if they are set.


If the Auto Login Checkbox is also clicked, it triggers a Security Assist Authenticate User behavior that is configured to use the username and password cookies for login.

Sign in to reply to this post

AndyG

no sorry misunderstood.

What I am getting at is that after the user has registered and this takes them to a Login page...

I have the username/password fields (hidden fields) populated via cookies from the previous registration page...

I now wish an auto-submit to happen on the page to login the user.

I have tried using the <body onload="this.form.submit();"> but of course this results in a loop as it is looking for a <form action> to process!

Can therefore SA do the page auto-submit?
regards
AndyG

Sign in to reply to this post

AndyG

OK got it...
delete the goto on the Insert Record behavior and have an Authenticate User bahavior on the reg page and voila.
sorted.
AndyG

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