Store session information on server
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>
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
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
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
Hi,
Thank in advance, can you please elaborate briefly about session management.
My problem is that i want to enable session state for a particular page using usercontrol as i have made changes in web.config to disable the session for whole application.
Please revert with solution urgently.