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

Problems with array
This code is the last lines in an upload script that uploads 4 images at the same time and writes th

PHP5 - Verifying a secure mail is secure
I need to send an e-mail from a form to a external department and because it contains personal custo

Pls help with PHP
Pls can anyone direct me on how to create a user account for a customer. For example i want know if

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

replacements
I have a variable in my PHP script like

ASSFDDDDDDDDDDDDDASDDDDDDDDARYTRHKKHHHHHHHHHHH and p

SQL Injection
In my attempts to protect my database from mySQL injection I have created another problem for myself

Echo multiple lines of html code
Hi guys,

I would like to know if there is a way to echo multiple lines of html codes.

reorder sql query
ok so i have this very simple code:
Code: $query = "SELECT search_keywords, COUNT(search_key

SELECT * FROM users WHERE Users are not in Blocked
How do I select all users from users table where there users_id is not stored in the block table

Extending Exception to contain method name
I was wondering, if there's a way to extend Exception in such a way, that it would contain name of a

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