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

New Password set session value empty

Thread began 6/12/2011 7:50 pm by un33k9309513 | Last modified 6/17/2011 2:41 pm by un33k9309513 | 1832 views | 14 replies |

un33k9309513

New Password set session value empty

Hi,

I am trying to follow this video
07_send_password.swf

I get about 1/4 of the way in the video to set the session value

Trigger: Send Pressed
Session Name: I click on lightning as it says > Security assist > random password > pick criteria for length of characters > click Ok >

and there is nothing in the code:EMPTY

and it won't let be processed.

In bindings window I have
+Session
+SecurityAssist
+WAATKForgotPWForm
+Server Variables


Thanks,
Ed

Sign in to reply to this post

tom92909Beta Tester

Can you upload your page please?

Sign in to reply to this post

un33k9309513

Hi,

Sorry it took long, but here it is


attached

Attached Files
NewPassword.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

un33k9309513

Hi

The phone call resolved that problem but there is another now. The solution was to manually insert that session first and then undo.

Directions if anyone needs it:

Go to user_EmailPW.php > bindings > Security Assist > Random Password > click on the tiny insert button on the bottom right of the binding window > now undo it by going to edit toolbar on top of DW > undo > now go back to follow the tutorial video again, for some reason Dreamweaver needed to be refreshed or something.

However, after completing the tutorial, I tried to open user_emailPW.php locally and I get this error

Warning: require_once(../WA_SecurityAssist/WA_RandomPassword.php) [function.require-once]: failed to open stream: No such file or directory

I checked and there is no WA_RandomPassword.php under the SA folder.

So was it supposed to be created?

Thanks
Ed

Sign in to reply to this post

Jason ByrnesWebAssist

here is a copy of the WA_SecurityAssist/WA_RandomPassword.php file to add to your site to correct the error.

Attached Files
securityAssistFiles.zip
Sign in to reply to this post

un33k9309513

Hi,

Thanks, I placed those two files in my SA folder,

now I get a browser error:

Fatal error: Call to undefined function WA_RandomPassword() in C:\wamp\www\mysite\user_EmailPW.php on line 5

and here is what line 5 says in user_EmailPW.php

$_SESSION["NewPW"] = "".WA_RandomPassword(7, true, true, true, "") ."";


This error occurs when I put in my email in the text field in user_EmailPW.php
even if I don't put in anything and just click send

I don't know if this makes a difference but in user_EmailPW.php my WA update record has an exclamation point.

thanks

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of the page.

Sign in to reply to this post

un33k9309513

Hi,

here it is attached

Attached Files
users_EmailPW_tosend.zip
Sign in to reply to this post

Jason ByrnesWebAssist

everything looks corect, the only thing i can see that could pose a problem is the email form element does not include a value attribute:
change:
<input type="text" name="emailAddress" />

to:
<input type="text" name="emailAddress" value="" />

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