Get Original Querystring Values After Decryption
Anyone have a VB function or know how to retrieve original querystring values after they have been decryted and lie within a string? Code:
View RepliesAnyone have a VB function or know how to retrieve original querystring values after they have been decryted and lie within a string? Code:
View RepliesI need to pass a lot of QS variables to another page. Problem is, the form being submitted is dynamic, so I don't always know how many values I am going to be passing.
At work, we use Site Server Commerce Edition which has a nice function to pass all the QS variables ( mscsPage.URLShopperArgs() ), but it seems like this only works in the Commerce Sites because the object needed to make this function work is only available in SiteServer web sites.Is there a way to grab all the values from the QueryString and place them into a link or form? ....
to change the colors of a forum I am using request.querystring("cellcolor"). That works fine for my default.asp. Now I click on a topic and it links to topic.asp where the values of the query string are gone.
Which approach would you recommend? How can I store the values? The general idea is that I have got 5 main-navigation-links which point to 5 different forums, each with separate colors. So the query string can be hardcode in the HREF, but should remain if you click
further in each forum.
I,am passing form variable monthsenrolled as a query string It does not work as i get a error what is wrong here
function previous(){
window.open("http://localhost/college/basic.asp?status=2&test=<%Request.form("MonthsEnrolled")%>");
}
How we can hide values of variables in our querystring those are readable in the address bar? is there any way we can encrypt the url and when it is required we can de-crypt it also like yahoo do?
(http://www.yahoo.com/_ylh=x3oDMTB1M2EzYWFoBF9TAzI3MTYxNDkEdGVzdAMwBHRtcGwDaWUtYmV0YQ--/r/m1)
It does not change the domain name but change the folder name and query string's values.
and url encryption should be automatic.
how i could put multiple values on to a Query String and get them on the next ASP page. Currently on wy website, i know how to get one, but i am not sure how i am able to get more than one assigned to a specific variable.
View Replies View RelatedHow do I get all walues if my querystring is empty?
If I have a table with let's say 10 rows/records, (ID 1-10). I then have a
recordset with request.querystring("id") and get the record having the id
thats shown in the address bar ("..com?id=4" would get the record with the
id 4). How do I get all records if the querystring is empty ("..com")
I have: Code:
I need to pull values from another page to a form in my script. Basically i want to update an entry in my dbase and populate those current values to a form which is working fine for most of the form except the dropdownlist. Also i dont know if this is an issue but i have a "FOR" Script running in my dropdownlist constructed as follows:
<% For x = 0 to 1000%><option value="<%=x%>" selected="<%=Request.QueryString("CabN")%>"><%=x%></option><% Next%></Select>
As you can see i place the Request.Querystring object in my code but the dropdownlist doest recognise this and continues on until it reaches 1000 which at this point it stops. I want the drop downlist to reflect the same value as that which exsist already in the datebase for it. What am I doing wrong?
I am trying to update my table with a value passed though the
request.querystring method but as you can see from the sql statement below
it is causing errors.
In this case the name of the department as displayed is "Arts and
Entertainment" but it is giving me something strange when I try to use the
variable
update empprofile set department ='Arts%20%26%20Entertainment' where
employeenumber =219104
Microsoft JET Database Engine error '80004005'
You cannot add or change a record because a related record is required in
table 'Departments'. Code:
In a earlier post I made to find a solution a member suggested I save my querystring values into session variables. Code:
View Replies View RelatedI'm working on a website. We're all volunteers and we don't have any money to buy a ssl-certificate, which should be the way to do this. Still I would like to send some encrypted data to and from the server and decrypt it again.
I will probably use http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=8967&lngWId=4 to do the encryption from user to server.
My problem now is to send information back from the server to other people, without any security holes. So I need the reverse: send encrypted info from the server and decrypt it at the client.
I would like to know what is the best to encrypt/decrypt info using ASP. I would like to encrypt some darta when recording it in an Access db and decrypt it when retrieving the data in question.
I guess that there are no built-in function so I was wondering if you would have a script that you would recommend. Or should I use a third party? It doesn't have to be very complex.
I have ASP page redirect from a HTML page which is password protected by IIS auth.I would like to check whether the redirection is REALLY taken from the HTML page. Since the ASP page is located at second server, would there is a chance that ASP programming such as server object can check the original URL. Or any other method.
View Replies View RelatedI was browsing the web the other day and a website I had a look at redirected you to a different webpage but still preserved the original URL that was typed in the address bar on the browser (it didn't move or change at all) How is that possible? I would like to do something similar.
The reason I am asking is because I want visitors to view a profile of a user like this
myweb.com/fred
this would have to be translated and redirected to mysite.com/profiles.asp?user=fred.but I want the original URL address to stay showing in the address bar
I have several different ASP forms (call them Form A,B, and C). "Button X" is on each of them (Forms A,B, and C). "Button X" calls ASP Form D and does some processing. After I am finished with the processing I want to go back to the original Form, either A, B, or C, which ever one "Button X" was clicked on.
I think I am looking for something like
Response.Redirect ("Parent.Form")
I received a "friendly" message of fellow webmaster saying that I had a security issue whereas it was possible to download my original ASP code.
As a proof he emailed a copy of one ASP page of a website I have been working on.
I'm building an ASP-based CRM system; a user sees the original
message, posted from the database and can hit a Reply button to
generate a TEXTAREA field on the next page that houses the original
messages and allows them to type a reply and hit a "Send" button.
The original message from the database includes natural line breaks,
as submitted--it doesn't contain any HTML breaks.
I would like to accomplish two things:
1) Add a "> " before each line of the original message, as contained
in the reply
2) In conjunction with the "> " preceding each line, break the
original messge string into logical line lengths that fit inside the
textarea field and don't wrap.
The subject sounds confusing but here is what i want to do. I have a
button on my page which says
OnClick="javascript:window.open('reportsContainer.asp?pag eURL=Report1.asp?intCurrentPage=1&blnRetrieveFlag=1&Show=1',TasksRPT');"
Now on the Conatiner.asp what i do is
if Request.QueryString("Show") = 1 then
pageURL = Request.QueryString("pageURL")
end if
And then i set the pageURL along with intCurrentPage and
blnRetrieveFlag parameters to my fram src as
<frame height=500 scrolling=auto name="pageFrame" id="pageFrame"
border=0 src="<%=pageURL%>">
Code:
We have an ASP site that hits up an Access database of categories of
products and products. (e.g. Categories = Napkins, Tablecloths;
Products = 20x20 Napkins, 21x21 Napkins, 54x54 Tablecloths, 60x60
Tablecloths)
We currently have select boxes that when you select a category, it
populates the next select box with the proper list of products (i.e. I
select Napkins as a category, I get a listing of the Napkins)
We would like to put a clickable link before each of these select
boxes that would pull up a pop up with links from the records from the
proper table.
(e.g. I click the categories link and a popup with html
anchor tags of Napkins and Tablecloths appear) I click on the Napkins
anchor and it populates the Categories Select box with Categories and
Napkins being selected.
I want to call a recordset so you can edit the details and then obviously pass the parameters onwards into the db. However, the user guide just says this:
To process other fields in the form, use the Form collection of the upload object the same way you would use the Form collection of the Request object. For example, if your form had a text element named UserName, your processing code would include: Code:
i need to convert the escape values which are by mistake updated in DB.
example:
this is a sample text string
is updated in DB as
this%20is%20a%20sample%20text%20string
here %20 is the space.
like wise there are many entries for :,'
is there way that i can update all this in a update statement?
or use asp to to update the records?
I have a variable SET which has the value Of 1, 2, 3, .., N.
SET=val1, val2, val3, val4, ..., valN
What is the commend or procedure to extract individual values, val1, val2, ...
is it possible to check if a variable is present in the querystring, or is that unneccesary? will it assume the variable is empty if it is not present in the querystring?
View Replies View Relatedi have a hyperlink from a results page:Code:
Response.Write "<TD>" &"<a href = JobDetails.asp?id=" & rs("JobID") &" >" & "Click Here" & "</a></TD>"
the sql statement in JobDetails.asp =
Code:
sqlstr = "select * from Jobs where JobID = '" & Request.QueryString("ID") & "'"
rs.Open sqlstr, conn
im getting this error when i click the hyper link
line 20 is the rs.Open sqlstr, conn line
this error seems to happen with dates but i dont have any dates at all.
I want to write a page which will
load a default page for me with some links and all. lets say someone
clicks on the link, which not only points to the same page but also
passes a querystring. Looking at the querystring I will then display
data from a database.
So my question in short is... Is it possible to have a single asp page
which can return either a default page where no querystring is passed
or a result from the database when a querystring is passed?
If the answer is yes, then is it a good idea to do this or have 2
seperate pages?
I've got a request form for samples of our product that we send out. The form is being linked from our ebay auction pages. In the link from the auction page I'd like to include the model number of the sample that they're requesting. (ie. /sampleRequest.asp?AS240)
Then, on my sampleRequest.asp page which contains the input form I'd like to include a hidden field which holds the value of that querystring. Finally, upon submitting this form I'd like that value to be placed into the sampleModel field in my Requests table in my database.
The problem I'm having is how to populate the hidden form field with the querystring form the ebay auction page. Code:
I have a querystring like this:
checkbox1=2&checkbox2=1&checkbox3=2checkbox1=5&checkbox9=1&checkbox3=1
I would like to insert each set of checkbox1, checkbox2, checkbox3 into a table like field1(checkbox1), field2(checkbox2), field3(checkbox3). Remember each set of 3 checkboxes are 1 unit inserting into a table. Is this possible?
I am trying to maintain some ASP code that I did not generate and the programmer who did has a very different style than I do so I am having some problems. Hopefully someone out there can help me by answering my question.
I have the following line of code:
If (isEmpty(Request("dir"))) Then.....
Now my question:
Could the Request("dir") used above be the same thing as using Request.QueryString("dir")???
I just noticed though that when I include the file name to the folder it worked.
ie unitingrhythms.co.uk/?size=4 - no output
& unitingrhythms.co.uk/index.asp?size=4 - outputs 4
can the querystring be read when the file isn't shown?
i have a querystring on one page where the url looks like:
delete.asp?name=test2.pdf&type=file
on delete.asp i have:
Dim name, type
name = Request.QueryString("name")
type = Request.QueryString("type")
It gives me an error for some reason.
i am working on ASP.net in c# and i want to pass " +" in querystring but "+" is converted to space.Is thereany encoding method to show "+" in querystring.
View Replies View RelatedI have a querystring that contains the + sign as a separator, I need to read these values individually in a select statement, for example.
&text=Single+205
where single is the type of room somebody wants and 205 is the user ID in the Customer table.
I have a banner that is clicked and the people are takin to a general information page. From the banner they are given the URL and a querystring of ?AdID=X. On that page they click and are taken to our signup page where i have a form for them to fill out.
The mentioned querystring is the referering company. How can I get the querstring information into a hidden value on my form before submitting to the database. I have tried <%=request("HTTP_REFERER")%> and it writes the whole URL into the database. I need just the querystring. Have also tried. <%=request.querystring("AdID")%> and that does not work either.