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


restrict user to a certain page

Thread began 8/26/2009 5:51 am by C Claypool | Last modified 8/26/2009 10:23 am by Ray Borduin | 1349 views | 1 replies |

C Claypool

restrict user to a certain page

Hi All,

This is probably a really simple question ... I am trying to implement a "proofing" site where if you are successful with your log-in, you go to a specific page ... a unique page for each login/password combo (not dynamically created).

Where is it I would specify which page I want them to be sent to ... I am thinking I would put a new column in my visitors table with their specific page url in it and then have that value pulled from the database ...

I find I am struggling a little with setting up Security Assist in general (I bought the Admin Suite awhile back for this kind of a project, that one fell through but I have a new project I need it for now ... ) I am tempted to just buy the User Registration Pack but I don't even know if that will solve the problem! On the feature tour of the solution pack it has a link to access the "restricted page" would I be able to customize that link for each customer (It is going to be a relatively small site, so I can hand code stuff if needed, probably a max of 10 or 20 users at any given time ...))

Any guidance would be helpful. I will cross post in the User Registration Pack forum, feel free to answer only one post!!!

Sign in to reply to this post

Ray BorduinWebAssist

You would add that column to the vistors or users table in your database and then store it as a session variable.

Specify a new, blank page as the success page for the login and on that page have just the code:

header("location: ".$_SESSION['StoredPageColumnInSession']);

That will redirect to the page in the session.

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





Ease of use


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