RE: Login before you enter the shop?

iiinetworks <[email protected]>
Newsgroups gmane.comp.web.oscommerce.features
Message-ID <933e8bab0ccb686623c34b7adde88e8a@osCommerce-Forums>
This message was sent from: Features
http://forums.oscommerce.com/viewtopic.php?p=191113#191113
----------------------------------------------------------------

[quote="Salvo"]Get the contribution login inbox and make it as the first page to your shopping online without anything esle.[/quote]This won't entirely work.  Even if you do this, someone could still enter the shop without logging in by typing the url in manually, bypassing the login.

Assuming search engine placement is not an issue (since a login requirement prevents them from crawling the site), what is needed is an addition to application_top.php which redirects them to the login page if they are not currently logged in.  This could also be done by disabling anonymous sessions, which will force them to login to register their session (session registration is already required, IIRC).

Hth,
Matt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.