...

View Full Version : Disabling direct url



vic42975
04-08-2009, 06:27 AM
I have no idea what it's called so I'll say this :D
Is there a way to disable direct url? Like you cant go to a page by typing the url. You have to go by clicking on a link. I'm not even sure if this is HTML :D

RomanTaylor
04-08-2009, 08:21 AM
Why would you need this? Are you trying to secure your pages, like a online store or something?
This is not HTML / CSS type of thing. You can use sessions for that matter, so anybody who would try to access this link would be sent to log in page, or window would pop up asking for a password and user name. You can do that using php, .asp or .htaccess for example.
I don't think you can disable direct url's, because links use url's :) Basically if you click on the link - the same thing happens as when you type it in and push enter.
There are way to have one link, so that page content will be generated differently under just one link.
Sorry if I am confusing, but to do that you will probably need to use server side scripting language like php. Can you describe what is for so that we can give you a better suggestion.
Thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum