Forums

ASP

This topic is locked

show nothing when I run the session page

Posted 19 Mar 2003 15:04:20
1
has voted
19 Mar 2003 15:04:20 Terry Lau posted:
Hello,
I set a session variable to a form element and then submitted the form. And I called it in another page. But it only showed a blank page. Why?
THANKS!

Edited by - mufcterry on 19 Mar 2003 15:05:02

Replies

Replied 12 Apr 2003 10:39:46
12 Apr 2003 10:39:46 Graham Cole replied:
HI

If you are running on a win2k box with IIS, there is a small glich that I have come across that requires the existance of the global.asa file to be located in the web root. The file does not need to contain anything except a single space, but without it the whole session variable system falls over completely.

Hope this helps

Graham
Replied 14 Apr 2003 16:59:51
14 Apr 2003 16:59:51 Lee Diggins replied:
Hi,

is this a dreamweaver created behaviour update, edit delete? If so you need to make sure to put your code in the correct place as the form post's back to itself first. If it's an insert record behaviour for example, look for this type of comment and place your code beneath it:

' *** Insert Record: construct a sql insert statement and execute it

Session("mySession" = ??????

Digga

Sharing Knowledge Saves Valuable Time!!!

Edited by - Digga the Wolf on 14 Apr 2003 17:01:53

Reply to this topic