keyser
Fri May 23 08:50:32 CDT 2008
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.userform;
if(uri==null) uri= window.opener.location.href;
if(popup==null){
dest.target= "";
}else{
window.open("","popup", ...);
dest.target= "popup";
}
if(close){
window.opener.name= "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]" <reb01501@NOyahoo.SPAMcom> escribió en el mensaje
news:O94qMmEvIHA.4492@TK2MSFTNGP02.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.end" 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.
|
|