close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Can cookies toolkit protect one single page?

Thread began 2/28/2010 1:49 am by i.edwards384429 | Last modified 3/01/2010 10:50 am by Eric Mittman | 1446 views | 1 replies |

i.edwards384429

Can cookies toolkit protect one single page?

Hi

do doubt silly question but can I use cookies toolokit to protect one single page?

What I want is to be able to give a specific user a username and password so that they are the only ones able to view that page , however I dont want to have to setup a database. In the past I've used a java applet, just wondered it cookies would do it?

thanks

Ian

Sign in to reply to this post

Eric Mittman

There are a couple ways you can do this but I think it would be best to have a server side check on the user trying to login.

The page should have a login form, the user will enter their details and submit. You can then check on the posted values to ensure that they match the correct username and password for that page.

You could take a a step further by storing the username and password in cookies, then when the user comes to that page check the cookies first to try and auto login them in. If the cookies match the correct username and password then they should be automatically logged in.

This is all very custom though and will require you to implement this code by hand.

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