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

Results from Db outputted twice
Hey guys.. for come reason my data is outputted twise shown in the image below and i cant figure out

Parse error: syntax error, unexpected $end in
hello,
i receive the error :Parse error: syntax error, unexpected $end in C:xamppxampphtdocsh

need to apply an if/else statement to Tim Thumb script
Not sure how to work this. I essentially want to call a variety of image sizes based on which style

Downloading file (Headers)
I'm trying to make users download a file, but they must wait 60 seconds before it begins.

But

Shuffle Array
Hi,

I am writing a script for a game that needs players to randomly be assigned a target (ano

User registration and login
I don't know whether this is the correct forum, if not i apologise but am pretty desperate at the mo

Saving PHP output as a file
I wondered if anyone knows how to save the rendered output of a PHP script as a file?

I have

Php Mysql Page Loading Notice
Hi all,

I was wondering if there is a way (Sure there is) of showing a message or an image wh

RadioButtonList data selection
view plaincopy to clipboardprint?

Error when call dll from oracle
Hi all, please help me!

I have dll write C language, I want call it from oracle procedur

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