Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [session-state]

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

Filter by
Sorted by
Tagged with
4
votes
0answers
30 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 ...
0
votes
1answer
43 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 ...
1
vote
1answer
36 views

Capture Session Timeout Event in Sitecore Marketing Automation

I am working on Sitecore 9.0.2 and we have a requirement to send a reminder email through marketing automation. We have a scenario where contact will land on registration page and provide email/...
1
vote
1answer
47 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]" ...
0
votes
1answer
34 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/...
1
vote
0answers
43 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 ...
1
vote
1answer
99 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. ...
0
votes
1answer
59 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.
1
vote
1answer
55 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. ...
2
votes
0answers
141 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 ...
0
votes
0answers
299 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 ...
0
votes
2answers
669 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 ...
3
votes
1answer
473 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 ...
0
votes
1answer
339 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 ...
2
votes
0answers
135 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 ...
2
votes
1answer
152 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 ...
1
vote
0answers
147 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 ...
0
votes
1answer
220 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 ...
1
vote
0answers
164 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 ...
1
vote
2answers
219 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 ...
1
vote
0answers
575 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 ...
1
vote
1answer
468 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 ...
0
votes
2answers
89 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 ...
3
votes
1answer
362 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....
1
vote
0answers
57 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 ...
1
vote
0answers
262 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 ...
-2
votes
1answer
257 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 ...
3
votes
0answers
72 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 ...
1
vote
0answers
464 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 ...
4
votes
1answer
371 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 ...
1
vote
0answers
219 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 ...
4
votes
2answers
732 views

Sitecore losing the client session unexpectedly

On my Sitecore instance I'm authenticating a user programatically like this(adapted for this post): [HttpGet] public ActionResult MyAction(MyModel model) { //custom logic ...
0
votes
2answers
752 views

Configuring Session for load-balancer

In one of our Sitecore application we have only enabled Sitecore XP and disabled the Sitecore XDB. We are using the sessions in our application(to store and pass the values to 3rd party services)....
3
votes
1answer
253 views

Why is my sitecore shared sessions database looking for a version 8.1.0.0 dll?

I'm running Sitecore 8.2 Update 4, and I'm trying to turn on shared SQL sessions. I've followed the instructions found here, and made these changes. In my web.config file: <sessionState mode="...
1
vote
0answers
85 views

Maintaining/Sharing session between virtual folders

I am a bit confused here. Under the same Sitecore 8.1 instance, I have two web sites set as two virtual folders (www.site.com and www.site.com/customers) under the same app pool. This is a temporary ...
5
votes
1answer
300 views

Sitecore Contact expires using out of process session handling

In a Sitecore 8.1 Update 3, we have configured the mongodb for shared session state into "Session" collection, and analytics is configured separately into its own collection as well. The code is ...
1
vote
0answers
274 views

Amazon RDS and SQL Session State

I am setting up an environment with the databases stored on Amazon RDS. I am running into a problem with using SQL Session State. I get the YSOD with this error: Parser Error Message: Synonym '...
2
votes
1answer
2k views

Synonym 'Applications' refers to an invalid object

After adding SQL Server private sessions storage I get this error: Synonym 'Applications' refers to an invalid object Here is the relevant web.config section: <sessionState mode="Custom" ...
1
vote
0answers
459 views

Sessions DB usage spiking, causing performance problems

I've got a problem with one of my clients' sites (Sitecore 8.0, Azure cloud services (custom deployment model)) and could really use a solution. Here's the story in bullet point form: Deployment of ...
4
votes
1answer
913 views

Shared Session State configured as Private

I am currently working on migration of our customer's On-Premise infrastructure to Azure. Website was developed by some other vendor. In Sitecore application I found that only shared Session ...
13
votes
3answers
826 views

Contact (guid) could not be locked in the xDB

I've got a site where I'm invoking Tracker.Current.Session.Identify(), passing in the authenticated user's email address. It works fine locally, but when deployed the identify call often - but not ...
10
votes
2answers
2k views

Azure Web App Redis timeout exceptions when under load

We are performance testing our Sitecore hosted in azure web apps (2 CD S3) which uses Premium Redis. There are no error during normal UAT and SIT. However, on performance testing there are quiet a ...
1
vote
1answer
275 views

xDB InProc shared session state in load-balanced environment

I am auditing the xDB configuration on a site based on Sitecore 7.5. The setup is plain with no custom interactions being registered. We are dealing with the last scenario here, "Content delivery ...
9
votes
2answers
4k views

AcquireRequestState causing slow page load times

We're currently doing some performance optomisation of our Sitecore 8.1 Website and one of the slowest operations were seeing in New Relic is AcquireRequestState. I've read around this quite a bit ...
3
votes
2answers
1k views

Sitecore virtual user vs Session

We are using Sitecore 8.1 to develop an Enterprise-level Website, this site receives around 1/2 million users. We have a user dashboard and other details that the visitor can see after login, and ...
3
votes
1answer
188 views

Configuring OutOfProc session state

As per documentation (link) I need to configure the private and shared session state to be out of the process. My case is Content delivery cluster with a non-sticky load balancer I have decided to ...
5
votes
1answer
623 views

Sitecore xDB logout contact and continue browsing as anonymous

I'm trying to logout the current visitor/contact from the website. What I want to achieve is to save all the current information into xDB and then let the visitor to continue on the website as ...
5
votes
1answer
281 views

Exception on a CM server: The session ID is longer than the maximum limit

I am seeing the following error in the logs for the CM I am setting up for one of our clients, in preparation for launch of their Sitecore 8.1u2 site: Logged Error: 4972 16:30:56 ERROR Sitecore....
7
votes
4answers
571 views

Getting “Object Reference not set to an Object” error for Clustered CM servers

We have a clustered setup for 2 CM servers using azure cloud, and using InProc sessionstate and Loadbalancer with sticky session enabled. Both the servers are up and running. Developers are getting a ...
10
votes
1answer
4k views

How do I set session timeouts in Sitecore?

How do I increase session timeout for content authors? Authors complain that the default timeout is far too short.