Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Javascript Cookie help
Old 08-24-2005, 11:19 AM Javascript Cookie help
Junior Talker

Posts: 1
Trades: 0
I work in a financial organisation and our website is heavily regulated. We have a gateway page that has links to various sections within the site. Each link is 'protected' by a separate cookie. What happens is, the user clicks the link and is presented with a regulatory page that contains a link that they must click to progress to the page they require. When they click the link a cookie is written. The next time they click the original link they go straight to the requested page without seeing the regulations page. They see the regulations page again after 30 days when the cookie expires.

The way I do this at the moment is using JavaScript. Is there way I can do the same without using JavaScript as I need to make the website fully accessible to everyone using screen readers, text browsers etc?

Many thanks in advance!
Master Splinter is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-08-2005, 05:58 PM
Dale Hodge's Avatar
Skilled Talker

Posts: 63
Location: Syracuse, ny
Trades: 1
Hello,

The problem with cookies is that they are computer specific and not visitor specific.

For example, if multiple people use the same computer such as in a college library or internet cafe, then the page(s) you are trying to protect become useless.

A better aproach may be to get a script that has member logins so now you will be tracking visitors and not just the computer they are using.

Hope this helps,

Dale.
Dale Hodge is offline
Reply With Quote
View Public Profile
 
Old 09-08-2005, 06:11 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
I don't think he's trying to protect the content, so much as make sure people see the regulations regularly. You can set cookies using most serverside languages such as PHP, ASP, PERL or whatever. Since they are server side there are no compatibility problems.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Reply     « Reply to Javascript Cookie help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.34137 seconds with 12 queries