469,343 Members | 5,524 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,343 developers. It's quick & easy.

making a session-less app

hi
if i disable session state...
how can i identify the user session ???

and, assuming that i generate my own "session id" for each login
carrying it along the requests...
how can i, latter, release the session ?

remember that Session_OnEnd( ) don't work well all the time ...

thanks
--
atte, Hernán
Oct 13 '05 #1
1 1567
i think that before to deliver EACH page
i will need to query the "session id" ( generated by myself by some way)
that is carried vía cookie, get o post
to see if that ID match with the ID in the (we say) "Sessions" table ...

then, i need to do another connection
instancing ADO objects, etc...
and then accessing to the database many times
using more resources (ado objects, cpu, memory)
and, even, network operations against the data server
for get the "session-less variable" values from the table
(we say) "SessionVars"

all this is overhead too....

thus, i seem session-less is more expensive
that session enabled....

am i absolutely wrong ?
wrong a little ?

thanks ia
--
atte, Hernán

"bajopalabra" <ba*********@hotmail.com> escribió en el mensaje
news:uB**************@TK2MSFTNGP10.phx.gbl...
hi
if i disable session state...
how can i identify the user session ???

and, assuming that i generate my own "session id" for each login
carrying it along the requests...
how can i, latter, release the session ?

remember that Session_OnEnd( ) don't work well all the time ...

thanks
--
atte, Hernán

Oct 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Mark Adams | last post: by
4 posts views Thread by cj | last post: by
reply views Thread by Siegfried Heintze | last post: by
9 posts views Thread by JJ | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.