locked
How to create a view level with primary key filter RRS feed

  • Question

  • User116907111 posted

    Hello,

    I want to make a Login Page to get an User ID. This ID should be the filter of the lists.
    What must I do to get the View Level and to which site must the login posted?

    Monday, September 8, 2008 4:37 AM

Answers

  • User-797310475 posted

    You should be able to modify your page templates and add a session state parameter to the where paramters collection of the data source on that page. You should probably also add some logic in the PageLoad event to make sure that the session state variable is populated (if not, redirect to the login page).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, September 8, 2008 2:56 PM

All replies

  • User179837873 posted
    Add session of that UserId..which is usefull for the list of data
    Monday, September 8, 2008 6:49 AM
  • User116907111 posted

    Thanks. I post my UserId to the Default.aspx
    Where can I add a "Where-Clause" for my lists?

    Monday, September 8, 2008 7:28 AM
  • User-797310475 posted

    You should be able to modify your page templates and add a session state parameter to the where paramters collection of the data source on that page. You should probably also add some logic in the PageLoad event to make sure that the session state variable is populated (if not, redirect to the login page).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, September 8, 2008 2:56 PM