close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Can I give selected access to result page based on visitor ID?

Thread began 5/29/2009 8:40 am by arnaudrager371142 | Last modified 6/01/2009 6:35 am by arnaudrager371142 | 2381 views | 4 replies |

arnaudrager371142

Can I give selected access to result page based on visitor ID?

Hi,

I have in mind to develop a database with dataassist and manage the access right with securityassist.

What I would like to achieve is:

- Have the visitor to log in
- The visitor can insert a request in the database
- The admin can update the request with additional info
- The visitor can search for his request and reach the results page.

I want the results page to be accessible only to the visitor that made the original request.

How could I manage that with security assist?

Thanks a lot for the help!

Sign in to reply to this post

Ray BorduinWebAssist

Surely you don't expect me to write a step by step tutorial for you on demand encompassing all of the features you want in your application.

You need to take a different approach... Try to do this yourself.... design the pages. Make them look the way you want them to. Take it one page at a time. Try to do what you want using the documentation and post here when you are stuck.

Include the specific page you are stuck on. What you are trying to do exactly at that step of the process and what problems you are having.

In terms of how would you manage creating the application you want to create... I'd start with creating the database. Did you do that part yet?

Sign in to reply to this post
Did this help? Tips are appreciated...

arnaudrager371142

Of course not, sorry if I was not clear on the exact step I was stuck.

I have already developped everything (database running, connection and pages created with data assist: search, results, update pages ...)

I have also login and registration page and can sucessfully restrict access to page based on what kind of visitor is logged in.

What I do not know how to do is to avoid having all visitors access the entry posted by other visitors. I would like each visitor to be able to access only the results of the record they have inserted in the database but not the record created by other visitors.

Is it possible to do that with security assist? I was thinking about restricting access based on visitorid (which is unique) but how can I do that in the page access manager?

I hope this give a little more specifics on where I am stuck.

Thanks

Sign in to reply to this post

Ray BorduinWebAssist

Usually you would do this by filtering the results by the visitor ID stored in the session variable on the results page so that they only see their results. Do the same filter on the details page and use redirect if recordset is empty. You don't need to use the page access manger for this.

Sign in to reply to this post
Did this help? Tips are appreciated...

arnaudrager371142

Thanks for the help!

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