•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 456,610 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,500 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 3422 | Replies: 20 | Solved
![]() |
•
•
Join Date: Aug 2007
Posts: 76
Reputation:
Rep Power: 2
Solved Threads: 4
hei now the hidden value is ok its retrieving correct values from 0 to 4.. its by using the this.for... only...
now the prob with request.form in the next page
whn i go thru searches i think i have to use the binary read but this binary read i dont know how to use
this is the binary read
it works but how can i get the value for sessionvalue..
another one option is thr which is using "upload.form("sessionvalue")" when i try this its showing error with the upload folder name that object required.......
am getting some ideas but i dont have luck at all...
am still trying....
now the prob with request.form in the next page
whn i go thru searches i think i have to use the binary read but this binary read i dont know how to use
n = Request.TotalBytes data = Request.BinaryRead(n) For i = 1 to n Response.Write MidB( data, i, 1 ) Next
this is the binary read
it works but how can i get the value for sessionvalue..
another one option is thr which is using "upload.form("sessionvalue")" when i try this its showing error with the upload folder name that object required.......
am getting some ideas but i dont have luck at all...
am still trying....
•
•
Join Date: Aug 2007
Posts: 76
Reputation:
Rep Power: 2
Solved Threads: 4
if i remove the multipart/form then its working corectly but i have to upload.... but the upload is not working...... for uploading we are force to do the multipart.. i dont know wht am going to do.. my other works also pending... only two days left to finish all my works.. thank you for ur ideas.. plz if u find something get me at yahoo chat..my id anto_nee@yahoo.co.in... plz
•
•
Join Date: Sep 2007
Posts: 1,058
Reputation:
Rep Power: 4
Solved Threads: 61
oh yeah. That's right. You are specifying two separate data types on the form. Okay, then try this.
n = Request.TotalBytes
data = Request.BinaryRead(n)
For i = 1 to n
Response.Write MidB( data, i, 1 )
Next
dim form = Server.CreateObject("MyRequest.Form")
form.Init()
Session("sessionvalue") = form("sessionvalue")•
•
Join Date: Sep 2007
Posts: 1,058
Reputation:
Rep Power: 4
Solved Threads: 61
I do not have yahoo, actually I do not use any instant messengers! Sorry, yeah forgot about that "set" thing. Before you put this inside a vbscript tag, set your session variable. I haven't done asp in a year now, so I am a bit rusty. I would highly suggest coming to asp.net, but that's all up to you. Anyway, I think we are heading into an empty hole. Unless.. why do you need the session variable anyway? If this is how you want it, you can do a simple work around. Upload the file first, then after it uploads, createa form to send via post and set the value to the variable you set to equal the hidden input. Then automatically submit that form to the next page wher eyou can request it via request.form.
Then on your next page, just "Session("imgcap" & strSUnique) = Request.Form("sessionvalue")"
<%
n = Request.TotalBytes
data = Request.BinaryRead(n)
For i = 1 to n
Response.Write MidB( data, i, 1 )
Next
dim form = Server.CreateObject("MyRequest.Form")
form.Init()
Dim strHidden = form("sessionvalue")
'or use the set.. whatever works.
%>
<body onload="document.auto.submit()">
<%
response.write ("<form name=""auto"" id=""auto"" action=""newfile.asp"" method=""post"">" & vbCrLf)
response.write ("<input type=""hidden"" name=""sessionvalue"" id=""sessionvalue"" value=""" & strHidden & """ />" & vbCrLf)
response.write ("</form>")
%>
</body>•
•
Join Date: Aug 2007
Posts: 76
Reputation:
Rep Power: 2
Solved Threads: 4
hei................SheSaidImaPregy..
thank you very much for ur support..
i find a way to solve it
this is working properly
the next problem already started..
this is simple thing with array
i will try to solve it
once again thank you
thank you very much for ur support..
i find a way to solve it
Set UploadImg = New FreeASPUpload
UploadImg.Save uploadPath, false, 10000000
L = UploadImg.form("sessionvalue")this is working properly
the next problem already started..
this is simple thing with array
i will try to solve it
once again thank you
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Checkbox has no properties in FireFox. Works fine in IE (JavaScript / DHTML / AJAX)
- email, zipcode, and password confirm problem (JavaScript / DHTML / AJAX)
- Wireless Mouse Issue (Peripherals)
- hid mouse with 7 buttons (Software Developers' Lounge)
- handling extra mouse buttons? (Techies' Lounge)
- How do I Click the Command Buttons In other Executable Programs (Visual Basic 4 / 5 / 6)
- Fully Customize your desktop (Windows NT / 2000 / XP / 2003)
- Unable To Click Buttons (Web Browsers)
Other Threads in the ASP Forum
- Previous Thread: help me please. i am making a login page..
- Next Thread: SQl Injection through ASP and MS SQl 2000



Linear Mode