Displaying different page content, depending on the logged in user.


Posted on 16th Feb 2014 07:03 pm by admin

Hi all, I am new to ASP.net (and web development in general), and have a question about how I can display different page content depending on the current user.
I wish to create a digg style social news website whereby when a user logs onto the website, they are confronted with articles that are specifically recommended to them. Therefore, the homepage will look different for every different user that logs in. I would like to know how to code the website in such a way that each user has their own unique homepage, much like how when someone logs into www.facebook.com/home.php, they are confronted with a list of THEIR friends, and THEIR status updates. I have heard of sessions id's...should I use those?
Can anybody please explain (or provide links to) how I can achieve this?

Did you know?Explore Trending and Topic pages for more stories like this.
Thanks very much
No comments posted yet

Your Answer:

Login to answer
213 Like 49 Dislike
Previous forums Next forums
Other forums

NOOB needs help with upload file
The intent of this form is to create a folder for a client and upload an image into another folder '

Select Lists into MYSQL
Hello All, I am new to PHP @ 1 week. So borrowing code anywhere I can. I am making progress, but h

with clause
hi all, i have a big query that usually access the same table more than once. for example, i have s

empty() error
Why does

Code: empty($USER_ID = $_SESSION["USER_ID"])
create this error...

Oracle11g Patch issue
Hi all,

I'm getting the following error while installing Oracle11g Patch 11.1.0.7.0 on IBM-AI

split values
I have values that are returned to me in this format:

name=>test,age=>49

Implementing Single Sign-On using SAML 1.1, x.509, LDAP in C#.net
Hi, I got a requirement from the client i.e implementing single sing on using SAML 1.1( LDAP &

Curly Bracket Delimeters.
I'd always believed that the starting and ending delimeters in preg_ functions had to be the same ch

foreach result into a single variable
Hi,

I have this code...

Code: [Select]foreach ($_POST['Interests'] as $interest =&

Sessions work for me and not others?
I'm having a bit of bad luck with sessions. In the past they have worked fine for me, but this time

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash