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.
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.
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.
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
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
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 ?
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
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
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
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
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.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.