Anonymous browsing [message #276] |
Sun, 17 September 2006 04:43 |
popcho
Messages: 3 Registered: August 2006
|
Junior Member |
|
|
Sometimes I need to let all users read some info without the need to log in. How this can be implemented in Radicore?
|
|
|
Re: Anonymous browsing [message #277 is a reply to message #276] |
Sun, 17 September 2006 05:09 |
AJM
Messages: 2371 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
Radicore needs people to log in so that it can identify the ROLE_ID which, in turn, identifies what that person can/cannot access in the system. This is a security feature, along with the fact that bookmarked URLs cannot be used.
How do you think that access without a login could be made to work?
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
Re: Anonymous browsing [message #2233 is a reply to message #277] |
Mon, 27 July 2009 11:06 |
AJM
Messages: 2371 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
If you wish to allow users to access parts of the system without having to pass through a logon screen then you will need to create your own components in the presentation layer. These should be similar to the standard page controllers (see files 'radicore/includes/std.<whatever>.inc') but should not call the standard initSession() function as this contains the security checking which forces everyone to log on.
You can still use the database table classes to access the database, but everything else you must do for yourself.
See also Using Radicore components in a front-end website.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|