close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

registration and login immigrate

Thread began 4/26/2010 4:24 am by pejmanfallahi244687 | Last modified 4/27/2010 11:28 am by Eric Mittman | 1129 views | 1 replies |

pejmanfallahi244687

show login in box...

Hello,

I have a protected page and i like to open the log in page in modal box.(jquery ui) if user is not log in, and if he is login redirect to the called page. and if he call directly the protected page also show the login as modal box and if he clicks cancel redirct to the fail.php page.

Please help me
Best regards

Sign in to reply to this post

Eric Mittman

I'm not familiar with the modal box you are referring to and will not be able to offer specific support on that part of it. Do you have the user login pages and protected pages created already?

If so it sounds like you could just use the modal control to load your login page instead of going to the login page directly. To get the user to go to the fail page you can adjust the authenticate user server behavior to set the failed redirect. On the login page you can see this as:

"failRedirect" => "<your failed page>.php",

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