Search This Blog

Showing posts with label Session. Show all posts
Showing posts with label Session. Show all posts

Thursday, July 16, 2015

How to Enable session in your web application

Change settings in your web.config file

change enable session as true

<pages enableSessionState="true">

add the following code with in the  <modules> tag

<add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="" />

Thats it.. Now you can store values in session.

Restricting Custom People Picker to only one Sharepoint group programatically

Refer the following script files in your page,     <!-- For People Picker -->     <script type="text/javascript" src...