hi
i'd like to set up php sessions for my site so an alternate index page is shown everytime a user arrives at the home page.
I plan to have 2 or 3 different home pages.
Grateful for help on acheiving this.
Thanx
Dirk
sessions - alternate home page
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
if you are using sessions, the home page would reset each time the user opens the page after closing the browser. Is this the desired effect? If not, cookies or login based would be the way to go. As for doing it, you could either redirect from the real home page to their chosen home page, or masquerade the chosen home page as the real home page via including it (basically)