To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 2029
2028  |  2030
Subject: 
Re: New site stuff
Newsgroups: 
lugnet.admin.general
Date: 
Fri, 2 Jul 1999 18:12:28 GMT
Viewed: 
653 times
  
In lugnet.admin.general, "Mike Faunce" <mfaunce@earthlink.net> writes:
Todd Lehman wrote in message ...
The most elegant solution, of course, is just to know the user's
preference for how they enjoy the homepage, and display one or the
other from the same URL.

Couldn't you use a cookie to determine which "home" page a user wanted?

Default/no cookie = http://www.lugnet.com
Cookie set = http://www.lugnet.com/power (or whatever)

Yup, that's exactly how it'll be accomplished.  Except there only needs to
be one URL (not two), and the code running at that URL (will) looks and sees
what the user prefers and decide on-the-fly what to display.

But since the cookie has to be site-wide for a preference like that, it
makes the most sense to compactly store only the member ID#/pw combo in a
cookie and then look up the preference from that on the server.  Preferences
over time will probably amount to quite a bit of data, and the smaller a
cookie is, the faster pages load on slow connections.  Cookies are sent by
the browser via HTTP on every mouse click within the region they're defined
for.  For example, the cookies that are stored now for news-posting
identities are localized to URLs beginning with /news/post/ so that they
don't slow down things outside of that area; they're never sent by the
browser when the user clicks on pages outside of the /news/post/ area.

--Todd



Message is in Reply To:
  Re: New site stuff
 
Todd Lehman wrote in message ... (...) Couldn't you use a cookie to determine which "home" page a user wanted? Default/no cookie = (URL) set = (URL) (or whatever) Mike (25 years ago, 2-Jul-99, to lugnet.admin.general)

7 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR