Skip to main content

Questions tagged [session-state]

For questions related to Sitecore session-state configuration, usage, etc.

Filter by
Sorted by
Tagged with
0 votes
2 answers
71 views

How to redirect the Home page if session has null using Pipeline

We've set up the website using session data, and each page relies on this data. Should the session data be missing, I must redirect the user back to the main page. This scenario arises when a user ...
Rameshkumar's user avatar
1 vote
1 answer
101 views

Log out an user from all it's different sessions on different browsers

We got a front-end website, where users can register and log in (and an extranet user is being created in Sitecore for that). We noticed, that on password change on one browser, the user stays logged ...
Linas's user avatar
  • 88
0 votes
1 answer
87 views

Session timeout throws server error in sitecore 9.3

I updated the session timeout to 60 minutes in the sessionState section of web.config. After the 60 minutes of time out, the application throws a server error with no event log captured. but the same ...
visweswaran's user avatar
0 votes
1 answer
64 views

Which cache settings or session states scenarios could cause a rendering's personalization conditions to not evaluate after app pool recycle?

In my 9.0.2 MVC site, I have a personalized rendering on a page that has personalization enabled. Below is a contrived example of a set of rules that should always result in the rendering being hidden....
Marcel Gruber's user avatar
3 votes
1 answer
209 views

Setting Machine key on Managed Cloud / AKS (v10.2)

We noticed on our upgraded 10.2 site that some session based functionality stopped working reliably when having more that one replica. Redis is used for storing session data and is getting populated ...
SamMullins's user avatar
1 vote
0 answers
58 views

Session from GetPageItemProcessor is null in Service layer

I am having a PageUnavailableProcessor, which extends GetPageItemProcessor. This Processor helps in redirecting to a user-defined Page for all 403 errors (we are tagging the pages by language and ...
Yeshwanth's user avatar
5 votes
1 answer
109 views

Sitecore 10.2 creates session data "sc_ct_trk"

We recently migrated from Sitecore 9 to 10.2 and now we see a strange cookie in the session data named sc_ct_trk. I looked all up the internet and found no reference to what this is or how to disable ...
FvZ's user avatar
  • 51
2 votes
3 answers
509 views

How to set session timeout in sitecore for the visitors to the site

I have tried the below configs. But still, it is not working. <setting name="Authentication.ClientSessionTimeout" value="180" /> <authentication mode="None"> ...
indu mathi's user avatar
1 vote
2 answers
231 views

Disable Session State on CD Servers

For a CMS Only Sitecore CD server (No xDB Tracking), is there any requirement to enable session state? What standard Sitecore services would fail if there was no session state?
Jonathan Folland's user avatar
2 votes
2 answers
516 views

Sitecore session expiration with multiple CDs

I'm having a very hard time understanding the terribly written official Sitecore documentation surround session expiration here: https://doc.sitecore.com/xp/en/developers/102/platform-administration-...
theyetiman's user avatar
1 vote
0 answers
107 views

Sitecore 9.0.2 and Azure PaaS based live website gives '502' error few times in a day

We have our public website in Sitecore 9.0.2 and it is in Azure PaaS infrastructure, from last few days the website gives '502 following error message' at specific times in a day(8 (am or pm), 9(am or ...
Hina Thakkar's user avatar
2 votes
0 answers
266 views

How to handle two user sessions at the same time in Sitecore

We have a Sitecore MVC website. The Sitecore version is 9.3.0. As of now, we have a login functionality on the website. We use AuthenticationManager.Login method and pass 3 parameters: username, ...
Thanoj's user avatar
  • 88
1 vote
1 answer
175 views

Unable to read Sitecore data written in Redis

We are evaluating REDIS vs SQL Server for session state. During testing, we found that data in REDIS is not readable. It looks like encrypted with assembly information or maybe it is showing an error. ...
Mrityunjaya Pathak's user avatar
2 votes
1 answer
368 views

Sitecore - Application Insights Telemetry - Custom properties

I am struggling with accomplishing the following scenario: I need to create a custom property for Application Insights, containing an identifier for the user (which is read from the data store at ...
Marius Popa's user avatar
0 votes
0 answers
158 views

Abandon session in JSS Integrated mode

Sitecore : 9.1 Initial release + JSS 11.0 integrated mode We tried to abandon the session using the URL snippet /sitecore/api/jss/track/flush mentioned at https://jss.sitecore.com/docs/fundamentals/...
NutsAndBolts's user avatar
  • 1,342
3 votes
2 answers
383 views

What part of the sitecore PAAS setup is using redis?

We're using Sitecore 9.1 and are having some issues with our session management. After changing it from Redis to InProc (both session-state and shared session-state), the issues disappeared. What ...
Rik's user avatar
  • 313
0 votes
2 answers
533 views

The name 'SessionState' does not exist in the current context

I installed new sitecore 9.3 project, i see error when build project, filename :"\sitecore\admin\sessionsummary.aspx"
user7749's user avatar
0 votes
2 answers
541 views

XDb collection unavailable exceptions while Xdb is completely disabled

My Sitecore 9.3 website has Xdb and Xdb.Tracking disabled but still CM server error logs always have some XDb collection unavailable exceptions. Is Xdb still coming into picture? These exceptions are ...
S.Kazmi's user avatar
  • 906
2 votes
1 answer
483 views

Implement custom session-like cache in Sitecore

Due to limitations outside my control I will have to store custom objects for each logged in user of my Sitecore site. Currently this is getting stored in session state. There is alot of pressure on ...
Jeroen's user avatar
  • 1,224
1 vote
1 answer
146 views

CD Instance is configured for Private session but Redis is showing keys for both Shared and Private Session

Our CMS instance is using "In Process" session state and CD instance is using "Out of Process" session state. We have configured it for private session state using Sitecore ASP.NET ...
AlokBhatt's user avatar
  • 145
2 votes
1 answer
139 views

Sitecore disable session for a specific page

I have a requirement to disable session in one of the page in my Sitecore (8.2) MVC application. This is because, prevent interactions from recording and creating session objects which is then stored ...
karthik's user avatar
  • 71
2 votes
0 answers
162 views

Losing Session Value in Sitecore 9.0.2

I have a Sitecore 9.0.2 portal in Azure PaaS from where we are making some transactions. I am posting form to the payment gateway using form post method and gateway is returning the response to a ...
Alok Kumar's user avatar
5 votes
0 answers
98 views

Is the Session DB Performance Boost still necessary?

I see that the section on optimizing SQL Session DB Performance that existed in the Sitecore 8.1 documentation no longer exists in the documentation for 9.1. Is this because the step is no longer ...
tkooser's user avatar
  • 96
0 votes
1 answer
145 views

Access Rights required for Session database

I configured private and shared session using SQL Provider, following this link After I deployed the Sitecore.Sessions.dacpac file, I tried to create a user for the database but it was failing with ...
Jojo's user avatar
  • 463
1 vote
1 answer
123 views

Shared Session state with SQLSERVER [closed]

We are using Sitecore 7.2 and trying to implement Shared Session state with SQLSERVER. When we switch to SQLserver mode from InProc , we don't see any sessions created in the "[ASPStateTempSessions]" ...
Karthik's user avatar
  • 373
0 votes
1 answer
94 views

Reloading contact into session fails

The solution is based on Sitecore 9.0.2 and two machines: CM and CD. I'm doing some changes to the contact profile and I want to reload it to the session as described here: https://doc.sitecore.com/...
Piotr Zaborowski's user avatar
1 vote
0 answers
155 views

Users are authenticated with the Old/Copied session Cookies - Sitecore 7.2 -

How to prevent users from logging in using the old/Copied session cookies. For example, I copy my session cookies and then logout from my website. If I import the old/copied session cookies in another ...
Karthik's user avatar
  • 373
1 vote
1 answer
1k views

What are differences between Sitecore Custom Property(Context.User.Profile) and Session?

We are using Session as well as Sitecore Custom Property(Context.User.Profile) for state management. We don't have much data(only around 20 fields ex- user id,email id etc.) for state management. ...
Abhishek Malaviya's user avatar
0 votes
1 answer
265 views

Sitecore XM with Redis cache

Need to know if Client is having Sitecore XM license. Is redis cache will be allowed to be used with XM license? Any thoughts will be good.
Vinayak Chauhan's user avatar
1 vote
1 answer
86 views

User Interaction is not storing on MongoDb - Once browser is closed

We have a simple Website which has WFFM form, there is no login page. When user is closing browser directly that time interaction is not capturing into MongoDb. Probably session end is not firing. ...
Abhishek Malaviya's user avatar
2 votes
0 answers
313 views

Session locking in 8.2

Occasionally we are experiencing what appears to be a session lock when viewing the front end of the site. The symptoms are The browser loads the request for a long period of time Eventually a 504 ...
David Masters's user avatar
0 votes
0 answers
719 views

Are there specific configuration requirements for Redis in Azure?

We're attempting to configure Azure Redis cache, I'm confident the connection string is correct as the logs suggests it's been able to make a connection. However my knowledge of using Redis with ...
Jason Bert's user avatar
0 votes
2 answers
2k views

AWS Redis session provider exception- No connection is available to service this operation: EVAL

I'm trying with Sitecore 8.2 and Sitecore 9.0.2 to change the session state provider from inproc to AWS hosted Redis session provider and get the following exception: [RedisConnectionException: No ...
Mohit's user avatar
  • 361
3 votes
1 answer
2k views

Sitecore shared session state not working - session state works in each site, but not between sites

I have two sites that I'm trying to implement single sign on for by setting up shared session state. I have followed the steps here: Configured the SQL server to support session state Set the session ...
Erica Stockwell-Alpert's user avatar
0 votes
1 answer
3k views

How to check Server side whether session is time out or not?

As I am new to Sitecore and working on session time out functionality in Sitecore. Instead of redirecting to login page I've to display session time out warning message to end user and How to validate ...
Kumari Dimple's user avatar
3 votes
0 answers
450 views

Sitecore Redis engine version compatibility

I'm planning on using Redis for shared and private session for my Sitecore 9 update 1 site. There is already an existing Redis cluster running using Redis version 4.0.10. I believe the Azure Redis ...
Jeroen's user avatar
  • 1,224
2 votes
1 answer
300 views

Content Delivery Cluster- Load Balancer Session configuration

My client needs to change from "Single CD and Separate CM" to "clustered CD and separate CM" with Load balancer for CD cluster. Sitecore version: 8.1 (rev. 160519), In this sitecore document it ...
Jojo's user avatar
  • 463
1 vote
0 answers
216 views

How can I share session between a Sitecore instance and an ASP.NET MVC application?

Currently we have one Sitecore instance using Sitecore Redis Session State Provider, Sitecore.SessionProvider.Redis.RedisSessionStateProvider, and another ASP.NET MVC application using Microsoft Redis ...
João Neto's user avatar
  • 2,051
0 votes
1 answer
354 views

Setting Sitecore context language / Commerce price group from cookie

Typically I would go into Global.asax.cs and add the code to set context language / culture and commerce price group / currency from a cookie (if available) in the session_start event. I see multiple ...
Durga Bose's user avatar
1 vote
0 answers
306 views

Redis session provider not working on Azure PaaS webapp

I am working on a Sitecore 9 solution which is hosted on Azure PaaS. I have a simple piece of code that is meant to store an object in session which works fine on my local machine but once deployed ...
PratikT's user avatar
  • 61
1 vote
2 answers
569 views

Session object cannot be deserialized

I'm getting the following error in my logs and at the same time experiencing data loss into xDB. This is on Sitecore 8.2 update 5. My logs show following error: 9612 11:44:56 WARN Failed to ...
Joost's user avatar
  • 505
1 vote
0 answers
923 views

Sitecore 9 httpBeginRequest pipeline reuse?

In my content delivery instance I have user information that is used in multiple componentized view renderings, which is sourced from REST services (some of this I want to pre-fill, some will be done ...
Watson's user avatar
  • 207
2 votes
1 answer
886 views

Virtual user custom properties missing on CD server

We have 2 load balanced CD servers. Session affinity is disabled on the load balancer and we are using MongoDB for session storage. User authentication is performed on a separate site. They are ...
Geoff Warren's user avatar
0 votes
2 answers
158 views

Can Private session along with Inproc be used if the XDB and analytics are not in use

In our application, we are using the session variable just to get the information between pages.Example cart quantity We have load balancer setup for 2 CD serves with stick session We are not using ...
PVM's user avatar
  • 973
3 votes
1 answer
665 views

How does redirecting from within an MVC.RequestBeginProcessor differ from Web Forms?

I am porting some code from Web Forms to MVC. In order to handle a case where query string parameters on the URL can change the landing page, I have added a RequestBeginProcessor to the mvc....
fgantt's user avatar
  • 85
1 vote
0 answers
85 views

Highly Available out proc session server

Is there a way to have highly available session state server (out proc) so that if one of the server managing the session in db goes down, other can instantly come up and server the current user ...
rdhaundiyal's user avatar
1 vote
0 answers
420 views

Maintaining session across the same browser

We have the requirement to maintain the session in the multiple browser. Example : If the user logs-in to the site in chrome browser and after login if the user opens the URL in the another chrome ...
PVM's user avatar
  • 973
-1 votes
1 answer
644 views

Unable to cast object of type 'Sitecore.Web.SessionEndWorkerRequest'

For one of our current assignment, we are on: Sitecore 7.2 (rev. 141226) SOLR 4.6.1 Sitecore Media Framework 4.1 - Brightcove Clay Tablet 3.10.1 Mentioning the details cause recently we ...
Rathan M's user avatar
  • 361
3 votes
0 answers
125 views

Does WFFM Reporting in CMS works only with InProc Session State?

We are using the Sitecore WFFM version 8.1 Update-2 installed in Sitecore version 8.1 rev 160302. Our CMS site session state is configured to use "StateServer". We are using the SqlDataProvider to ...
Ramakrishna Kudikala's user avatar
1 vote
0 answers
698 views

Sitecore xDB exception and session terminates [duplicate]

We are using Sitecore 8.2 in the following configuration: 1 CM instance 2 CD instances on load balancer Sitecore analytics is enabled We have not identified the contacts Analytics.cluster is set ...
NutsAndBolts's user avatar
  • 1,342