Questions tagged [session-state]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
84 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
58 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
185 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
54 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
107 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
441 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
214 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
470 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
101 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
256 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
160 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
316 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
153 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,330
3 votes
2 answers
347 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
489 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
496 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
444 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
142 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
134 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
157 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
94 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
142 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
121 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
86 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
152 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
246 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
312 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
710 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
442 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
297 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
345 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
304 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
555 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
909 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
882 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
156 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
  • 963
3 votes
1 answer
656 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
84 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
417 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
  • 963
-1 votes
1 answer
632 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
124 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,330
4 votes
1 answer
738 views

Sitecore personalization rule "goal was triggered during a past or current interaction" not being triggered

Here is what I did: I set Component A to show after Goal A was triggered during a past or current interaction'. Then I triggered Goal A and I was successfully identified as a contact by adding an ...
Shu Jackson's user avatar
1 vote
0 answers
445 views

How do we transfer a Sitecore/ASP.NET session between domains on the same delivery cluster?

A bit about our setup. We have 3 Sitecore 8.2U5 Content Delivery Servers across one Analytics node. We have SSO through a 3rd party provider (PING), a main site, and some portal sites. The portal ...
Pete Navarra's user avatar
  • 14.6k