+1-888-365-2779
Try Now
More in this section

Forums / Sitefinity SDK / Store session information on server

Store session information on server

4 posts, 0 answered
  1. Janak
    Janak avatar
    6 posts
    Registered:
    13 Dec 2010
    09 Apr 2011
    Link to this post
    Hi,

    I am developing new content management web application using sitefinity. I have one legacy application which is build on different technology then the .Net. My lagacy applicaion is huge so we are planning to first develop and migrate some of the sections on sitefinity platform and for other legacy pages/application just provide redirection from the sitefinity navigation. Could you please guid me on following points.

    1) Certain sections of my website is login based and I want to maintain the session between cross applications New Sitefinity portal and Legacy website. I tried to check for storing session information on Sql Database side using following web.config changes but it is not storing and adding any values in AspState database.

    <

     

     

    sessionState mode="SQLServer"

     

     

     

     

    sqlConnectionString="data source=CONF_LENOVO21\SQLEXPRESS;user id=sa;password=abc@123"

     

     

     

     

    cookieless="false"

     

     

     

     

    timeout="20">

     

     

    </

     

     

    sessionState>

     

     

     


    2) How can I link my navigation to external pages and pdf document? I am not able to see any option while creation of pages. e.g I have navigation link "My legacy page" which should link to my legacy applicaiton url which is non sitefinity application.

    Would appriciate for any help.



  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    11 Apr 2011
    Link to this post
    Hello Janak,

    1.Do you get the session object created locally?

    2. The NavigationControl provides option to link to an external page. Another option is building a custom navigation control that is bound to SiteMapDataSouce control and inside ItemDataBound event of the custom navigation control you can inject additional nodes ( external nodes)

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Janak
    Janak avatar
    6 posts
    Registered:
    13 Dec 2010
    13 Apr 2011
    Link to this post
    Hi Ivan,

    Thank you for prompt reply. Following are my answers.

    1.Do you get the session object created locally?
    [Janak:] No actually I haven't try with Sitefinity regarding this but tried with normal asp.net application where I am getting session details. Can you please guide me how can I check the session object in Sitefinity?

    2. The NavigationControl provides option to link to an external page. Another option is building a custom navigation control that is bound to SiteMapDataSouce control and inside ItemDataBound event of the custom navigation control you can inject additional nodes ( external nodes)
    [Janak:] I will try on this and contact you in case of any support needed

    Best Regards,

    Janak
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    18 Apr 2011
    Link to this post
    Hi Janak,

    You can enable session state as you enable session state on a web application - through web.config. Then you can create a user control and plug into Sitefinity. Through that user control you can work with session state.

    All the best,
    Radoslav Georgiev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

4 posts, 0 answered