[thelist] ASP Session Not working. Please Help!

Ken Schaefer Ken at adOpenStatic.com
Mon Aug 15 20:04:34 CDT 2005


In addition to JList's post, the other thing to look at is cookies.

Using your configuration, the sessionID is transmitted between the server and
client using a cookie. You need to ensure that the client is receiving this
cookie, and that the client is returning the cookie to the server. If you
have software on the client that blocks cookies (either incoming, or
returning them), then your session state will not be maintained (ASP.NET will
allocate a new session when the 2nd request is made to the server).

Cheers
Ken


: -----Original Message-----
: From: thelist-bounces at lists.evolt.org [mailto:thelist-
: bounces at lists.evolt.org] On Behalf Of Blas J. Gallegos
: Sent: Monday, 15 August 2005 4:12 PM
: To: CAtkins at patriothomes.com; thelist at lists.evolt.org;
: lonnie at lkraemer.com; catkins at patriothomes.com
: Subject: [thelist] ASP Session Not working. Please Help!
: 
: To all,
: 
: 
: 
:      I found a page with your email addresses on the web and thought I'd
: ask
: for help.  I'm having an issue where ASP sessions on my website are
: working
: when I access the page on the server with the http://localhost/  address,
: but not when accessing from outside the server via the web.  Any clues,
: tips, or reason why this would happen?
: 
: 
: 
: It's simple code.  I'm just initializing the session with a string and
: calling it from a different page.  Sometimes it works from the outside,
: but
: I don't know what triggers that behavior.  Here is example of the code and
: session mode.
: 
: 
: 
: <%Session("example") = ("examplestring")%>   <--  in one page
: 
: 
: 
: And
: 
: 
: 
: <%Response.Write(Session("example"))%>   <-- on a different page
: 
: 
: 
: 
: 
: Session mode
: 
:                        <sessionState
: 
:                          mode="InProc"
: 
:                          cookieless="false"
: 
:                          timeout="20" />
: 
: 
: 
: 
: 
: I would appreciate any advice.  Thank You!
: 
: 
: 
: Blas Gallegos



More information about the thelist mailing list