ok... ich werde einfach mal meinen Code posten, vielleicht können wir ja dann was machen.
------------------------------------------------------
<%
response.expires = 0
' User[name] = user login name
' User[Pass] = user password
' User[FullName] = Full user name, from datafile
' User[Sprache] = Sprache des Users
set WBO = oSprache
If request("Request_method")="POST" Then
' If this page was called via a POST it means that the ASP page called
' itself posting a user name and user password. We will get the name
' and password and pass it on to the VDF login BPO to check if it is valid.
' get posted information
Sprache = request.Form("SelSprache")
User = request.cookies("User")("Name")
If (Sprache <> 0) then
SpracheOK = WBO.call("Get_Sprache_Aendern",User,Sprache)
If (SpracheOK = 1) then
Response.Write(WbO.call("Get_ITText","Sprache geaendert"))
Response.Write("<br><br>")
Response.Write("<p> <font size='3'><a href='tth1.htm' target='_top'><font face='Arial'><strong>")
Response.Write(WBO.call("Get_ITText","Aktualisieren"))
Response.Write("</strong></font></a></font></p>")
response.cookies("User")("Sprache")=Sprache
WBO.call "Msg_Setzen_Sprache_User",Sprache,User
end if
end if
end if
%>
<html>
<head>
<!-- #INCLUDE FILE="inc/ITLesenCookiesTT.inc" -->
<meta http-equiv="Content-Type"
content="text/html;charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>TT Holding Web Application</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
<!-- The name of the style sheet is in Global.asa and stored in the session object -->
<LINK REL=STYLESHEET HREF="<%=Session("Style")%>" TYPE="text/css">
</head>
<body link="#6699FF" vlink="#CC6699">
<!-- #INCLUDE FILE="inc/DebugHelp.inc" -->
<!-- #INCLUDE FILE="inc/ITRepDataShow.inc" -->
<% If (SpracheOK <> 1) then %>
<form action="sprache.asp" method="POST">
<blockquote>
<p>
<table border="0">
<% ShowRepDataLine "Sprache:", "SelSprache", 1, "COMBO", "msg_Sprache_Combo", "" %>
<tr>
<td></td>
<td><input type="submit" value="OK">
<input type="reset" value="Reset"></td>
</tr>
</table>
</blockquote>
</form>
<% End If %>
</center>
</body>
</html>
Nun möchte ich erreichen das wenn jemand den OK-Button klickt das gleich die seiten aktualisiert werden. Jetzt im Moment muß man noch nach einem klick auf den OK-Button auf einen weiteren Link klicken der aktualisieren heißt.
thx