Groups | Blog | Home
all groups > inetserver asp general > may 2004 >

inetserver asp general : Sessions lost?



Curt_C [MVP]
5/14/2004 1:50:15 PM
I've got two sites, on the same server, with the same pages (ones for test,
ones live) the only dif that I can find is the global.asa has different db
strings.
The sites (that I didn't write) are using javascript (not jscript,
javascript) as their ASP serverside language.
The sites login, set some session values, then redirect to a .htm that
builds a frameset and loads some pages. This redirect is losing all the set
session values on only ONE of the sites. Any ideas where to start?

It's baffling to me

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


Dave Anderson
5/14/2004 2:05:15 PM
[quoted text, click to view]

Is this happening for IE only, or are the sessions lost with other browsers?
If IE-only, note this:
http://www.aspfaq.com/show.asp?id=2157


Is this an internal site? If so, have you eliminated mixed DNS/WINS
resolution as the cause?


If you have not done so already, compare [Properties]:[Home
Directory]:[Configuration...]:[Options]:[Enable Session State] on the two
instances.



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.

Curt_C [MVP]
5/14/2004 2:17:37 PM
Yeah, seems like it should be working fine.
It is running in a frameset, but pages are all within the same site.
What's really got me going is that the two sites are the same as far as I
can see, in both pages and IIS config. weird.


--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


[quoted text, click to view]

Curt_C [MVP]
5/14/2004 2:20:13 PM
Oh, more info

Session() items GONE
Application() items, FINE



--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


[quoted text, click to view]

Curt_C [MVP]
5/14/2004 2:28:55 PM
NEVER MIND
<smacks self with wet noodle>

Note: NEVER use an underscore in a site name, even for testing....
DOH!

It must be friday

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


[quoted text, click to view]

Dave Anderson
5/14/2004 2:36:42 PM
[quoted text, click to view]

Good point. We only experience the IE kinds, so I assume they are more
common.

AFAIK, the pop-up window and frameset issues are IE-only (I don't consider
domain-spanning framesets to have *lost* sessions).



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.

Curt_C [MVP]
5/14/2004 2:49:07 PM
yeah yeah....missed that in #3. :}

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


[quoted text, click to view]

Aaron Bertrand - MVP
5/14/2004 3:03:06 PM
I assume you've already gone through the checklist at
http://www.aspfaq.com/2157 ?

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/




[quoted text, click to view]

Aaron Bertrand - MVP
5/14/2004 3:04:59 PM
You could also try out this utility to compare headers:
http://www.blunck.info/iehttpheaders.html

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/




[quoted text, click to view]

Aaron Bertrand - MVP
5/14/2004 3:16:17 PM
[quoted text, click to view]

To be pedantic, that article outlines several potential reasons that aren't
exclusive to IE.

A

Michel Thiffault
5/14/2004 3:27:47 PM
Doesn't IE block cookies from pages that are from a different domain in a
frameset? It must be the cause of your problem.

[quoted text, click to view]

Aaron Bertrand - MVP
5/14/2004 3:33:26 PM
Ah-ha! So it WAS something in #2157!

AddThis Social Bookmark Button