Click here to get back home

"force" user to use site in defined order?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
"force" user to use site in defined order? Geoff Cox 04-01-2008
Posted by Geoff Cox on April 1, 2008, 1:54 am
Please log in for more thread options
Hello,

I am preparing a site where it is important that the user moves from
page 1 to page 2 to page 3 etc as a series of tests are presented and
the order is important.

Is it possible to make sure that this happens?!

One thought I've had is that to stop a user arriving at say page 2 by
using Google, I can put all these pages into a password protected
folder (using htaccss/htpasswd). The users would be presented with the
same user name and password on the public page. Is there any other
way?

'would appreciate any thoughts on this.

Cheers

Geoff

Posted by rf on April 1, 2008, 2:04 am
Please log in for more thread options

> Hello,
>
> I am preparing a site where it is important that the user moves from
> page 1 to page 2 to page 3 etc as a series of tests are presented and
> the order is important.
>
> Is it possible to make sure that this happens?!

No.

Make the all the same page and control the content server side, probably
with a session.

--
Richard.



Posted by Geoff Cox on April 1, 2008, 3:32 am
Please log in for more thread options

>
>> Hello,
>>
>> I am preparing a site where it is important that the user moves from
>> page 1 to page 2 to page 3 etc as a series of tests are presented and
>> the order is important.
>>
>> Is it possible to make sure that this happens?!
>
>No.
>
>Make the all the same page and control the content server side, probably
>with a session.

I've thought of putting all on the one page - trouble is that would
involve a lot of scrolling ...

Could you say what you mean by "control the content server side,
probably with a session"?

Cheers

Geoff

Posted by Ben Bacarisse on April 1, 2008, 5:12 am
Please log in for more thread options

>>
>>>
>>> I am preparing a site where it is important that the user moves from
>>> page 1 to page 2 to page 3 etc as a series of tests are presented and
>>> the order is important.
>>>
>>> Is it possible to make sure that this happens?!
>>
>>No.
>>
>>Make the all the same page and control the content server side, probably
>>with a session.
>
> I've thought of putting all on the one page - trouble is that would
> involve a lot of scrolling ...
>
> Could you say what you mean by "control the content server side,
> probably with a session"?

You store a cookie on the client side. Your server displays page one
if the cookie is missing. Page one sets the cookie to show that page
1 has been seen. The "next" button just re-loads the page but now the
server will show page 2. Rinse and repeat.

If cookies are not acceptable, you can do this with form data.

--
Ben.

Posted by Thomas 'PointedEars' Lahn on April 2, 2008, 6:05 pm
Please log in for more thread options
Ben Bacarisse wrote:
>>>> I am preparing a site where it is important that the user moves from
>>>> page 1 to page 2 to page 3 etc as a series of tests are presented and
>>>> the order is important.
>>>>
>>>> Is it possible to make sure that this happens?!
>>> No.
>>
>>> Make the all the same page and control the content server side, probably
>>> with a session.

Full ACK.

> [...]
> You store a cookie on the client side. Your server displays page one
> if the cookie is missing. Page one sets the cookie to show that page
> 1 has been seen. The "next" button just re-loads the page but now the
> server will show page 2. Rinse and repeat.
>
> If cookies are not acceptable, you can do this with form data.

Cookies are as susceptible to a forging attack as is form data.
http://getfirebug.com/ and see how easy it actually is.


PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee

Similar ThreadsPosted
Force CSS on external site? December 13, 2004, 6:00 pm
Forms: Where is the character encoding (eg. UTF) defined? October 29, 2004, 3:32 pm
XHTML 1.0 Validator: No attributes, elements not defined... August 11, 2004, 3:21 am
CSS: Problems with doubly defined colors (according to validator) May 20, 2007, 5:26 pm
Order of buttons? October 6, 2005, 9:37 am
css parsing order May 20, 2006, 8:11 pm
Z order for frames January 14, 2008, 8:55 pm
div presentation order April 28, 2008, 7:28 pm
DIV Tag Not on Top Z-Index Order Problem? March 25, 2005, 3:03 pm
WYSIWYG order forms? November 24, 2007, 2:20 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap