473,405 Members | 2,171 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Loading the session state from the database

Hello all,

I've got a question about session state. Is it possible to
declare and load a session into a session object from the sql server
database. Here's the scenario ...

I've got a website using SqlServer as the session state manager.
I've got a web service that I'd like to pass in the SessionID and have
it load the session from the database. I'd just like to know if this
is possible.

Thank you in advance for any assistance.
Scott Vercuski
sv*******@neo.rr.com
Nov 18 '05 #1
2 1136
In the worst case, you can alwyas read from the database anyway.

That said, for a web service I'm not sure this is quite an ideal
architecture. I would let rather the webservice works as a single thing (ie
not depend on having a session established somewhere else).

If you need to make multiple calls the webservice could expose login/logout
methods and maintain state between these two calls if needed ???

Else it can be more than something that is queued to a table and that the
webservices uses at a later time ?

Patrice

"Scott Vercuski" <sv*******@neo.rr.com> a écrit dans le message de
news:f4**************************@posting.google.c om...
Hello all,

I've got a question about session state. Is it possible to
declare and load a session into a session object from the sql server
database. Here's the scenario ...

I've got a website using SqlServer as the session state manager.
I've got a web service that I'd like to pass in the SessionID and have
it load the session from the database. I'd just like to know if this
is possible.

Thank you in advance for any assistance.
Scott Vercuski
sv*******@neo.rr.com

Nov 18 '05 #2
Patrice,

You make a good point, but I would also like to know if it is
possible to "reload" a session object from the database for other
purposes in my application.

Thank you,
Scott

"Patrice" <no****@nowhere.com> wrote in message news:<#e**************@TK2MSFTNGP11.phx.gbl>...
In the worst case, you can alwyas read from the database anyway.

That said, for a web service I'm not sure this is quite an ideal
architecture. I would let rather the webservice works as a single thing (ie
not depend on having a session established somewhere else).

If you need to make multiple calls the webservice could expose login/logout
methods and maintain state between these two calls if needed ???

Else it can be more than something that is queued to a table and that the
webservices uses at a later time ?

Patrice

"Scott Vercuski" <sv*******@neo.rr.com> a écrit dans le message de
news:f4**************************@posting.google.c om...
Hello all,

I've got a question about session state. Is it possible to
declare and load a session into a session object from the sql server
database. Here's the scenario ...

I've got a website using SqlServer as the session state manager.
I've got a web service that I'd like to pass in the SessionID and have
it load the session from the database. I'd just like to know if this
is possible.

Thank you in advance for any assistance.
Scott Vercuski
sv*******@neo.rr.com

Nov 18 '05 #3

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

Similar topics

1
by: Julie Barnet | last post by:
Hi, I am having a problem with my session state through sql server. This used to work, then all of a sudden (the only change was setting up replication in the sqlserver database) it stopped...
3
by: Mark | last post by:
Ok, I know that .net inherently does not share session data across asp.net projects, but is there any decent work around to this. We already have a big chunk of our application using the asp.net...
1
by: Andrew Corley, MCSD, MCDBA | last post by:
We have developed an ASP.NET application that uses a custom component that we developed. We are trying to load the custom component into the session state using...
5
by: sdettmers | last post by:
Hi, Database: SQL Server Session: SQL Server Language: C# Application: ASP.Net I have created a login page which attempts to retrieve the users record from the database and I...
9
by: charliewest | last post by:
Hello - I have images saved in my SQL SERVER 2000 database. Using ASP.NET (C#) is there any way to temporarily save an image to a session object, and after running some other operations, later...
9
by: McGeeky | last post by:
Is there a way to get a user control to remember its state across pages? I have a standard page layout I use with a header and footer as user controls. Each page uses the same layout by means of...
4
by: Rolf Rosenquist | last post by:
From a page with a form I collect the fields in the next page. The fields are compared with a database and if a certain condition does not fit, I want to go back to the first page with the form,...
5
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
We have a page that is loading very slow. There is not a lot of data, not a lot of users are connected at the same time and the page does not produce an error, so I am not sure where to start to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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...

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.