Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Redirection software?

Thread Tools
 
Search this Thread
 
Old 12 September 2002, 10:45 AM
  #1  
stevencotton
Scooby Regular
Thread Starter
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

Using HTTP_REFERER is unreliable since it's client dependent, nothing to do with the webserver you're using, the web browser sends that header and at least with Opera there's an option to turn it off, bypassing whatever you put in place.

[edit]
Well, they wont bypass it by turning it off but you can just set it to whatever you like, thus bypassing anything you put on, I mean

Steve.


[Edited by stevencotton - 12/9/2002 10:51:05 AM]
Old 12 September 2002, 06:07 PM
  #2  
snowcrash
Scooby Regular
 
snowcrash's Avatar
 
Join Date: Mar 2002
Location: www.scoobyzone.co.uk
Posts: 2,082
Likes: 0
Received 0 Likes on 0 Posts
Post

yeah buts it's going to get 99.9% of people visiting his site..

unless you start playing with cookies.. which is easy as well really

[Edited by snowcrash - 12/9/2002 6:08:18 PM]
Old 06 December 2002, 05:54 PM
  #3  
Fig
Scooby Regular
 
Fig's Avatar
 
Join Date: Aug 2002
Location: not forgetting 20,000 posts from last time ;)
Posts: 5,806
Likes: 0
Received 0 Likes on 0 Posts
Post

I'm looking for a piece of software, or info on how I can ensure that visitors to a webpage always come in via the front door of the site, rather than directly to a sub-page. (Using Scoobynet as an example, I want to ensure that all visitors go to the main index page rather than going directly to a forum/thread etc.)

Any clues/guidance please?
Old 06 December 2002, 05:59 PM
  #4  
ids
Scooby Regular
 
ids's Avatar
 
Join Date: May 1999
Posts: 424
Likes: 0
Received 0 Likes on 0 Posts
Post

You could check the HTTP Referer (depends on your web server and coding) at the top of each page (as an include in ASP) and make sure they have come from the / home page. If not redirect em. Or you could use a some start session logic (in Global.asa in ASP/IIS) ... Theres loads of ways, but no software as such.

if its ASP then its a peice of pi55. Same for PHP or CF or JSP I guess.

Ids
Old 07 December 2002, 12:26 PM
  #5  
Fig
Scooby Regular
 
Fig's Avatar
 
Join Date: Aug 2002
Location: not forgetting 20,000 posts from last time ;)
Posts: 5,806
Likes: 0
Received 0 Likes on 0 Posts
Post

Am I right in saying that using the referrer method, users would be forced back to Page 1 every time they wanted to move to a different page? If so this will not do what I want - and after re-reading my original post think I didn't explain very well.

I would like to make users come in through the front door at the beginning of a session. Once they have visited page one, they would then be free to hop about the site to their hearts content without revisiting the portal unless they wanted to. Next time they visited a new session starts, and the enforced routing via the portal returns.

In a nutshell, I need them to visit the portal once per session, where important info will be displayed.

Thanks
Old 07 December 2002, 02:31 PM
  #6  
snowcrash
Scooby Regular
 
snowcrash's Avatar
 
Join Date: Mar 2002
Location: www.scoobyzone.co.uk
Posts: 2,082
Likes: 0
Received 0 Likes on 0 Posts
Post

no, with the referer method one of the ways you would code it is:

if referer equals "http://www.myhomepage.com" then
display sub page
else
display front door (or redirect)
end if

Old 07 December 2002, 02:55 PM
  #7  
Fig
Scooby Regular
 
Fig's Avatar
 
Join Date: Aug 2002
Location: not forgetting 20,000 posts from last time ;)
Posts: 5,806
Likes: 0
Received 0 Likes on 0 Posts
Post

OK, but after visiting myhomepage.com and clicking the link to myhomepage.com/anotherpage, can they then click a link to myhomepage.com/someotherpage without being redirected back to myhomepage.com?
Old 08 December 2002, 05:14 PM
  #8  
snowcrash
Scooby Regular
 
snowcrash's Avatar
 
Join Date: Mar 2002
Location: www.scoobyzone.co.uk
Posts: 2,082
Likes: 0
Received 0 Likes on 0 Posts
Post

yes - as you only ever get it to check that "http://www.myhomepage.com/" exists in the url not what comes after it..
Old 08 December 2002, 09:13 PM
  #9  
Fig
Scooby Regular
 
Fig's Avatar
 
Join Date: Aug 2002
Location: not forgetting 20,000 posts from last time ;)
Posts: 5,806
Likes: 0
Received 0 Likes on 0 Posts
Post

thanks
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
hardcoreimpreza
Computer & Technology Related
21
11 October 2015 03:40 PM
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM
BlkKnight
Non Scooby Related
104
01 October 2015 09:40 PM
Wurzel
Computer & Technology Related
10
28 September 2015 12:28 PM
JackClark
Computer & Technology Related
5
22 September 2015 12:28 PM



Quick Reply: Redirection software?



All times are GMT +1. The time now is 05:07 AM.