HI rondavid,
U mighe be flushing the content before redirecting the page using response.flush. This will write the headers and will not allow to use the response.redirect.
if you are not using the response.flush anywhere before Redirecting then just use :
response.clear and then...
Your code sems to be OK as from the source code which you has given .. there are "</BODY></HTML>" tags which meanes that there was no problem in processing the code .. u might have problem in the processing the page itself .. ( i mean the logic which u have written to gt the page)...
There is no other go .. U need to upload the file to the server and then send the attachment from there because it the server which is going to send the mails ...
Take a simple case of email providers .. when u need to send the attachment .. u will actually upload the file to the server .. and...
I think what u r explaining is not the cause of the problem. There i nothing wrong in leaving the companies name blank. The problem is somewhere else.... send the code of page 2 then we may get u the solution...
Hey old_year and old_rookie are strings and u just cannot substract them. use the following ...
total_years = total_years + (clng(old_year) - clng(old_rookie) )
strPackage is a string and u r trying the numeric operations on it .. that is the problem. convert strPackage to number using cLong or cInt then use it .
Hope this helps ..
srinu...
from u'r code it seems that u want to submit the information from page1 to page 2 and wants the data to accessed at client in page2.
Then u should either use hidden variables for it or can directly get the value in the VBScript as :
Using Hidden variables:
*** PAGE 2: test2.html ***
<html>...
There is no request object in the client side . U need to use form object for it as :
document.form("formname").somevar.value
gives u the value.
Add a hidden text in your form and depending on the button clicked put some value in the hidden text.
Submit the form and in the server side check for the value of the hidden text and depending on this value execute the stored proc.
Hope this helps...
srinu...
It should work use:
document.formname.action="TargetPage url"
document.formname.method="get" or "post"
document.formname.submit();
this will submit the form if u include it in button click.
hope this will work for u..
srinu...
Hey if u want user to click on button to submit the form then why r u using the submit buttons .. use normal buttons and submit the for only when he clicks it..
Hope this helps ..
Srinu...
COM+ maintains a connection pooling. So that if u ask for the same conection within a specified time then it will return the same connection. But this does not mean that the connection is active.. it will be inactive .. it will beactivated if the request comes for the same connection.
srinu...
If u r trying to know whether user id logedin at database then U can write 1 for that userid as soon as user logs in.
To know whether user session is completed then u need to write a code which will write 0 for that user in Global.asa in session_onend event.
hope this helps!
srinu...
U'r code seems to be correct ... can u just give one function which u r calling .....
In ObjectControl_Deactivate() use on error resume next because if any error occurs before setting the object to nothing it will be active ...
regards,
srinu...
It means that once u'r object is activated it is not getting distroyed ...
Then u need to check u'r code again .... if u r using object context then be sure to distroy the object in the event ...
ObjectControl_Deactivate()
don't use Class_Initialize() and Class_Terminate() procedures ...
be little more clear ... if u set to view the status of the component in com+ and when some of u'r program tries to access the component then that particular component will spin .. it is a indication that it is in use .. that's it .. what is the problem actually???
srinu
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.