Well actually I write content management systems in my spare time, and I could probably whip a Friendster in about a week. There are actually pretty good reasons why a person would want to create a site like that, namely on the basis that they get millions of hits a day and just a single Google ad on each page can generate a lot revenue (about 5500 hits per day average US$1 in Google Ad revenue, so having hundreds of times the traffic earns hundreds of times the income).But if you are a newbie ASP programmer, then the task of creating that kind of site requires such insane amounts of overhead that'd you'd never be able to do it. I recommend starting a little smaller, perhaps by writing a messageboard. However, if you are up to the challenge, then here's the information you need:Linking pages together is easy, it usually requires a session object. But personally, I really dislike Session Objects, they slow down page processing and rarely last for more than 20 minutes; after that, a user has to log in again. Use cookies instead.Sessions and Cookies are the same thing, but a Cookie is a textfile that stays on a clients computer, and a session deletes itself after the client's session has ended (usually after 20 minutes).Heres some information on ASP cookies:http://www.aspwebpro.com/aspscripts/miscel...ookiebasics.aspAfter a user logs in, use this code to set a cookie:<% Response.Cookies("MyCOOKIE").Domain = "www.yourdomain.com"Response.Cookies("MyCOOKIE").Expires = Date() + 1Response.Cookies("MyCOOKIE")("Username") = UsernameResponse.Cookies("MyCOOKIE")("Password") = Password%>
After the cookie is set, use this code to access the cookie:
<% DIM strUsername, strPasswordstrUsername = Request.Cookies("MyCOOKIE")("Username")strPassword = Request.Cookies("MyCOOKIE")("Password")response.write "Hello, " & strUsername%>