close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

mp

Thread began 4/10/2012 12:59 pm by mpiasecki1437949 | Last modified 4/23/2012 7:17 pm by Jason Byrnes | 2715 views | 10 replies |

mpiasecki1437949

mp

Hi
I would like to have my customers after log in be redirected to their own accounts where they can review reports, statements etc. Can this by done with this extension.

Sign in to reply to this post

Jason ByrnesWebAssist

you can edit the authenticate user server behaviors on the login page to change the login success redirect.


once logged in, the users ID is stored in a session variable that can be used to return their user information, see the profile page for an example of using the session variable for filtering the users table.

Sign in to reply to this post

mpiasecki1437949

User Authentication

I kind a did sometihing like that but now all users that log in are redirected to the same page. Is it possible that after login each user go the his own html of php page that I would creat for them

Sign in to reply to this post

Ian S

It depends how you are creating the page that the user is redirected to. Is it the same page with dynamic content based on the userid or is it a hard coded page unique to the user?

If the first then you just filter a recordset that has the page information by the userid.

If the latter then you would probably need to store the html or php page name in the database against the user id and then have a page that filters the users recordset and redirects to the resulting page.

Cheers
Ian

Sign in to reply to this post

mpiasecki1437949

page redirect

Ian,
Thanks for reply I am new to all that could you provide step by step how to do with SA, let's say I have as you said hard coded html page unique to the user where after work is complete i place downloaded files for them to download (e-card). so after they log in it takes each to their own unique address. I know there is other method e.g to have record set to display a message as a link that will take them there but I would like to start with the first. Or maybe there is completely other way to do it ?

Sign in to reply to this post

Ian S

Hi,

OK, I will try and talk you through it....

If you want to go down the dynamic route....

The user table will have a unique ID for each user.

When setting up your login with security assist you need to create a session variable that stores the unique ID of that user. Then you redirect the user to a dynamic page, that pulls back information from the database that matches the ID of the user. For example, my user ID might be 5 so I want the dynamic page to pull back the information from the database that has a foreign key value of 5.

The other option, if you want to hard code the redirection page...

In the user table, you have a page name against a user. So my user record has a redirect field with a value of ian.php. With security assist you store a session value, say its called 'var_redirect' and store the page name. Then you can use the redirect behaviour to load after login to redirect to the page name stored in the session variable.

Hope that helps?

Cheers
Ian

Sign in to reply to this post

mpiasecki1437949

page redirect

Ian,
That looks good but when I said step by step I mean like tutorial.

1. Go to.... and create....
2. Open Security Assist - user verification - ..........

Please let me know If this is would be possible and for both options.

Thanks
Mark

Sign in to reply to this post

mpiasecki1437949

Your Account

Ian,
One more thing I basically would like to recreate Web Assist site, so when user/client successfully logs in is redirected to "your Account" page where the following can be found

as appears on web assist site

Account settings
Download center
update profile
etc
I purchase the dynamic suite and need to use it asap. Please let me know if this can be done on forum or after I create all pages maybe somebody can set up all connection, Please advice. in my opinion this is the fundamental issue for this product and there should be step by step tutorial of how to do it.

Thanks
Mark

Sign in to reply to this post

mpiasecki1437949

Can't access user profile page

I place the code you provided but still no action, I can not access user profile page, after I press log in button the page only refreshes, please advice

Mark

Sign in to reply to this post

mpiasecki1437949

User update still not working

I found this thread (showthread.php?t=24640) and It looks I have the same problem did all changes and also the test failed so whats next what to do to make your product work, please advice.

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