By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,823 Members | 730 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,823 IT Pros & Developers. It's quick & easy.

Loading the session state from the database

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.