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?

Thanks very much

No comments posted yet

Your Answer:

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

Strange cookie problem. setcookie dependant on where user was directed from?
Hello,

I have a website that sets a cookie when a user visits the website. The cookie holds a

BI in Upstream Production operations
Appreciate if you can assist in the following areas:
1) Examples of life before and after BI i

How to ... (FAQs)
... get e-mail notifications As several people asked how to get e-mail notifications when new posti

Something like an INI editor or a DelimitedText-Editor
Hi all,

Am very, very, very new to PHP and not sure if I should be posting this to a Javascri

trim function issues
Hi guys, total noob here...

So I've been tinkering around with a html and am using php to em

mr8m - reverse document
Friends,

I'm trying to reverse a document held by MIRO, but it reports the message balan

how to timeout $doc = new DOMDocument()->load($url)
I am currently using this $doc->load($url) to fetch an rss feed.
If a feed takes long than

Unique Visitor Tracking
Hello. Currently, I run a voting site where voters are tracked by their IP address and can only vote

Word Trimming
Hi Guys & Gals!!

Hope you are all ok....

I need some help with the following

Variable uses and placement
I'm new to PL/SQL and am trying to learn about variable valid uses/placement (any pointers to any do

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