sorry Bob, i was wrong
Yes: there is a double submission
i do "submit" using a javascript function
could it be the reason for the double submission?
this is the code:
function jslib_post(uri, popup,close){
var dest= document.userfo rm;
if(uri==null) uri= window.opener.l ocation.href;
if(popup==null) {
dest.target= "";
}else{
window.open("", "popup", ...);
dest.target= "popup";
}
if(close){
window.opener.n ame= "mainwin";
dest.target= "mainwin";
}
dest.method= "post";
dest.action= uri;
dest.submit();
if(close) window.close();
return false;
}
i'm now testing with a direct, specific submission
"Bob Barrows [MVP]" <re******@NOyah oo.SPAMcomescri bió en el mensaje
news:O9******** ******@TK2MSFTN GP02.phx.gbl...
| keyser soze wrote:
| this is unbeliveable...
| i'm trying to set a session var "x"
| from a local var "y"
| >
| ...
| session("x")= y
| response.write( session("x") ) --it outputs the content!
| response.end --stop here
| ...
| >
| but, i have another page that tells
| the content of these session var...
| amazingly it reports the OLD value of the session var....
| >
| unfortunately i can't reproduce it with a simple code like this
| but i can't post all the code, includes, etc
| i put "response.e nd" for ensure the processing stop there
| i'm sure that there is no a double submit
| that could overvrite the value....
| >
| please, i am desperated... and angry
| any idea?
| >
| Without showing us how to reproduce it, all we can do is point you here:
|
http://www.aspfaq.com/show.asp?id=2157
| or
|
http://www.aspfaq.com/show.asp?id=2346
|
|
| --
| Microsoft MVP -- ASP/ASP.NET
| Please reply to the newsgroup. The email account listed in my From
| header is my spam trap, so I don't check it very often. You will get a
| quicker response by posting to the newsgroup.
|
|