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

Storing the referrer in session... problems with tabs
Hello All

I am currently working on an ERP project based on the MVC methodology, when a user

Help with Contact Form
I have this Form on an html page and the associated code on page.php (below).
I keep getting the

Find occurences of unicode characters in string
I need to prohibit filenames with everything but English characters and numbers but regexp and strin

weird problem
last time, i did post a topic concerning why my page sometime will load as blank page when using IE.

Production Order Enterprise Service to Manufacturing Exctn Sys (MES) ???
Hello Experts,

In our current landscape SAP ECC 5.0 is integrated to MES system via PI 7.

limitations on array_unique()
Does any one know what/how imitations are applied to array_unique? I have an issue where no matter h

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

phpMailer will not connect using SMTP
I am trying to use phpMailer with smtp:

Code: [Select]$mailer = new PHPMailer();
$mailer-&

Multi Dimensional Array Append
Hi Guys

I have a function that returns a multidimentional array eg

$result = functio

Google voice
I currently have a form in html, but I want it in php so the information is not in the source code.<

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