Add another parameter to your sub.
onclick="AddDelUser '<%=rsconn("user_id")%>','<%=strGroup%>','<%=intCount%>', this.value"
...
sub AddDelUser (user,group,count,value)
I use
Response.Redirect "http://www.yoursitehere.com/yourdoc.pdf"
My asp looks for cookies. If my cookies are present, then I read the cookies, create a database item logging the cookie values, then automatically redirect to the pdf. It works here, I see the pdf displayed.
If...
Unfortunately no.
The web user clicks a link on one server, which redirects them to another server, asking for them to fill out a form of personal information, then redirects them to the first server and the pdf. This is a Response.Redirect, not a hyperlink.
You probably need to get each character of your string and stick it into an array that is the same size of the length of your string.
Something like this:
For i = 1 to Len(str)
char = Left(str, 1)
array(i-1) = char
str = Right(str, Len(str) - i)
Next
Good luck!
Is it possible to redirect to a PDF that resides on another web server?
In previous threads, I've seen examples of using ADODB.Stream objects to read and write binary data. I get errors when I attempt to LoadFromFile. I think this is due to the file not being on disk, rather on another web...
Right, I want to show pdf, not download it. An important note also is that the pdf resides on another server, not locally on disk. I've also tried the code at bottom of this post, but get error:
"The script reported following error: File could not be opened. (error number 0x800A0BBA hex)...
Help! I need to do a redirect to pdf files. The web browser seems to redirect to the server, but the page is not loaded. It only loads upon refresh. I've tried the following:
Response.ContentType = "application/pdf"
Response.Redirect "http://www.....file.pdf"
I've also...
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.