navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

HOW TO LIMIT THE ACCESS TO A PAGE

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> HOW TO LIMIT THE ACCESS TO A PAGE
Page: [1]
 
Xenon

 

Posts: 44
Joined: 12/8/2003
From: Madrid, Spain
Status: offline

 
HOW TO LIMIT THE ACCESS TO A PAGE - 12/4/2004 16:21:07   
Hello there. I am now familiar with javascript and I would like to know how to do the following, which I think you can do:

-Any internet user views my webpage. I would like the user to access a certain page, but only by pressing a link on my webpage (not by writing the url in the adress bar or clicking the page from the history display in IE).

Kind regards and thanks in advance.
dpf

 

Posts: 7126
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: HOW TO LIMIT THE ACCESS TO A PAGE - 12/4/2004 20:50:27   
you definitley cannot do this client-side with javascript..what you need is something server-side that blocks access without a password..try spooky login available from this forum

_____________________________

Dan

(in reply to Xenon)
Mojo

 

Posts: 2441
From: Chicago
Status: offline

 
RE: HOW TO LIMIT THE ACCESS TO A PAGE - 12/5/2004 0:18:39   
You could do an HTTP_REFERER check. If they don't come from a specific page you redirect them to that page.

_____________________________

Split Testing
Order Fulfillment
Emergency Kits

(in reply to dpf)
pesty

 

Posts: 188
Joined: 7/2/2004
From: USA
Status: offline

 
RE: HOW TO LIMIT THE ACCESS TO A PAGE - 12/5/2004 5:35:46   
Hi Xenon,

dpf is right about the address bar and javascript. Can't do it.

But you can use

location.replace()

for the history. This method can load a series of pages that don't appear in the history. The user can still use the back and forward buttons, but they won't be able to use the history entries.


Check in perl and php for a url blocker. I'm sure I seen a script like that in one of the free scripts sights.

Hopes this helps,

Pesty

(in reply to Mojo)
Page:   [1]

All Forums >> Web Development >> General Web Development >> HOW TO LIMIT THE ACCESS TO A PAGE
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts