473,806 Members | 2,229 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQLServer SessionState Testing

I have set up the local environment to use sqlserver mode testing.

The article i followed to install was here:
http://support.microsoft.com/default...b;en-us;317604

I also changed the value in the web.config file per article.

However, i am not sure what to look for to help me verify and validate
this is working correctly. I've sifted for articles on
suggestions/ideas as to how this is working.. but have been unlucky
with my search.

I did not want to assume, just coz the app is functioning the way it
is, that it is, without any sort of testing.
Can anyone give me test idea that will help me validate that this is
working?

Also, my main goal, is to make sure the values, in an arraylist, and a
hashtable in the app that i used to store in sessionstate (server
method), was still being used correctly.

Nov 19 '05 #1
2 1386
re:
my main goal, is to make sure the values, in an arraylist, and a
hashtable in the app that i used to store in sessionstate (server
method), was still being used correctly.
Wouldn't a simple "check to see if the values are there" suffice ?

Retrieving the values in session("whatev er") and testing
for the presence of your values should not be too difficult.

Am I missing something here ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
=============== =============== ========
"spgmbl" <wo*****@gmail. com> wrote in message
news:11******** *************@z 14g2000cwz.goog legroups.com...I have set up the local environment to use sqlserver mode testing.

The article i followed to install was here:
http://support.microsoft.com/default...b;en-us;317604

I also changed the value in the web.config file per article.

However, i am not sure what to look for to help me verify and validate
this is working correctly. I've sifted for articles on
suggestions/ideas as to how this is working.. but have been unlucky
with my search.

I did not want to assume, just coz the app is functioning the way it
is, that it is, without any sort of testing.
Can anyone give me test idea that will help me validate that this is
working?

Also, my main goal, is to make sure the values, in an arraylist, and a
hashtable in the app that i used to store in sessionstate (server
method), was still being used correctly.

Nov 19 '05 #2


I did do a test with the appliation, and I was being paranoid I wasn't
testing it correctly, or wasn't testing it enough.

But you're right, I thought about it too, and figured the most I can do
is to retrieve the values off the session and step through or write out
whats been stored and set.

:) Thanks for your attention.

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2190
by: Kristofer Liljeblad | last post by:
Hi, I've successfully setup my machine to use: sessionState mode="SQLServer". All is up and running so no problems so far. Because I curious person, I started to play around with the two new tables created on my SQLServer. Here is what I've done. 1. I've created a web projectec consisting of two webforms. The first form (default.aspx) is my testform and it doesn't do much at all. (Actually it
1
3516
by: TSelvan | last post by:
Hi All, We have developmented Web project with ASP.Net and SQL server Database. In this project we have configured "SessionState" mode as "SQLServer" in Web.Config with timeout="180" as mentioned bellow. But the session expires in 30 min. Please let me know Regarding this. Thanks for your help.
1
2463
by: quique | last post by:
Hi all, I want to know the advantages and disadvantages of the methods of maintain session state, obviously if i choose sqlserver is the most robust but the less performace.. If wan't to maintain session state in sqlserver, Does anybody knows when it's saved to database?, on beguinSession, on endSession... <sessionState
1
1118
by: wardy | last post by:
I've got a .NET web application that currently uses session to maintain state. I am just looking down the road and thinking of scaleability and if I need to go to a web farm, then using "inproc" for managing my session will no longer work. I've done some research and read about how SQL Server can manage session, but I've found very little in terms of how to actually do this. Basically what I've found so far is that I run a script that...
0
972
by: Phl | last post by:
Hi, I am having some problems hosting my website. Everything works fine in my local machine but when I upload to propduction server, my images somethimes won't load properly. I have my state configuration like this in my web.config: <sessionState mode="SQLServer"
1
1433
by: Craig | last post by:
I'm planning on persisting sessionState in a database (not MS SQL). Is there a way to do this using the web.config file? I see that you can set the sessionState mode="SQLServer" to persist to a MS SQL database, but can it be done somehow while using another database? If not, what are some ideas for the best way to handle this appropriately? I'm trying to keep the session information updated in a database, so that other web...
1
3267
by: Ed | last post by:
I am trying out SessionState with Mode=SQLServer. I have my code run Session.Abandon, but the session entry in the table ASPStateTempSessions is still there? I was expecting that Session.Abandon would remove the Session from the table. Is their a different method I should use to remove the Session table entry? Is the only way the session will be removed from the table, is when the session Expires? I notice that there is a SQL job...
0
1163
by: =?Utf-8?B?RmFiaWFuIEFuZGVyc29u?= | last post by:
Hi WS Developers, I have am working on an integration project in which we are using WSDL and MS XML WebServices to integrate legacy systems other with external systems. Unfortunately, we must use the SessionState provider (ASP.NET 2.0) to allow webservices to expose the statefull architecture of the legacy systems. Within the WSDL test page, everything works perfectly. I can make sequential WebService calls and the state of the...
3
3464
by: Moe Sisko | last post by:
Using dotnet 2.0 sp1, I've got ASP.NET session state working ok in SQLServer mode, but the sessions never seem to expire. e.g if I add a timeout attribute like so : <sessionState mode="SQLServer" sqlConnectionString="Integrated Security=SSPI;data source=localhost" timeout="1" >
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10617
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10364
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10370
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7649
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5545
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.