473,394 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

how is this done

When I go to some web sites and click on a link the URL looks like this:

www.somewhere.com/something?varaible=something and that takes you to the new
page.

what is the code behind this to make this work like this? www.msn.com has
links like this as well.
Nov 19 '05 #1
8 1096
Response.Redirect()

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Mike" <Mi**@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...
When I go to some web sites and click on a link the URL looks like this:

www.somewhere.com/something?varaible=something and that takes you to the
new
page.

what is the code behind this to make this work like this? www.msn.com has
links like this as well.

Nov 19 '05 #2
Response.Redirect("www.somewhere.com/something?varaible=something")

Nov 19 '05 #3

"Mike" <Mi**@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...
When I go to some web sites and click on a link the URL looks like this:

www.somewhere.com/something?varaible=something and that takes you to the
new
page.

what is the code behind this to make this work like this? www.msn.com has
links like this as well.


That is called a querystring. The URL (www.somewhere.com/something) and the
querystring(?variable=something).

The following is a sample code behind snippet:

Sub Form_Load(...)
Dim myVariable As String = Request.QueryString("variable")

Response.Write("variable = " & myVariable)
End Sub

That is how that works, does this answer your question?

Hope it does :)

Mythran
Nov 19 '05 #4
yeah but since no page is really defined how does it know what page to
redirect to?

i can response.redirect("?varaible=something") all day long but how is the
page defined to go to?

"BillGatesFan" wrote:
Response.Redirect("www.somewhere.com/something?varaible=something")

Nov 19 '05 #5


Maybe this will help.

Response.Redirect("http://www.msn.com/SignIn.aspx?Username=BillGates")
The page is SignIn.aspx. The variable being used is Username.

The value is Bill

In the Page_Load of SignIn.aspx

Request("Username") is equal to Bill

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #6
lookup examples on url rewriting. with unix its done with a script or progam
with no extension (just set the execute bit), with vanilla IIS its done with
a isapi filter, and .net will let you use an http module.

-- bruce (sqlwork.com)
"Mike" <Mi**@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...
| When I go to some web sites and click on a link the URL looks like this:
|
| www.somewhere.com/something?varaible=something and that takes you to the
new
| page.
|
| what is the code behind this to make this work like this? www.msn.com has
| links like this as well.
|
|
Nov 19 '05 #7
My son signed me up and I need to set my computer to access hotmail.com Jay

From http://search.yahoo.com/search?p=www...lopmentnow.com

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
Apr 10 '07 #8
Well, first of all, you are in the wrong newsgroup for that question, so I
will give you the best answer I can and tell you the most appropriate
newsgroup. To access hotmail.com all you need to do is enter the following
URL into your browser:

http://www.hotmail.com/

You will then be asked to enter your email address and password on the login
page. If you are having trouble with this, or you recieve an error when you
enter you login info, make sure there is not a problem with your internet
connection (sometimes certain settings can cause a problem on specific
sites). For more information, I would recommend using the following
newsgroups:

microsoft.public.msn.discussion

Hopefully this will help you get what you need. If your son signed you up, I
would expect that he knows what to do, so you may want to talk to him as
well. Good Luck!
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"kentjayconwayjr" <ke*************@hotmail.comwrote in message
news:78**********************************@developm entnow.com...
My son signed me up and I need to set my computer to access hotmail.com
Jay

From
http://search.yahoo.com/search?p=www...lopmentnow.com

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com

Apr 10 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Sugapablo | last post by:
I had an idea for something that I can't find any evidence if it exists, or if it can be done. I assume it can be done. What I'd like to be able to do, is to allow people who come to my website,...
9
by: Steven T. Hatton | last post by:
This was written for the gnu.g++.help list. It rather clearly spells out the most important feature of Java that I believe C++ lacks. I really don't believe the C++ Standard sepcifies enough for a...
11
by: Sharon | last post by:
I'm writing a new control derived from UserControl. I need to get an event when the control is done resizing. I tried the Resize, SizeChanged, Move and the Layout events and I also tried to...
59
by: Alan Silver | last post by:
Hello, This is NOT a troll, it's a genuine question. Please read right through to see why. I have been using Vusual Basic and Classic ASP for some years, and have now started looking at...
17
by: blackswift | last post by:
code is from Warsaw university's CEPC code . They are world champion in the ICPC finals. #include <iostream> #include <cstdio> #include <algorithm> using namespace std; #define FOR(i,a,b)...
12
by: Ark | last post by:
Hello NG, I arrange data in structs like { members... uint16_t crc; more members, maybe... } Then I need to save them, up to and including crc, in non-volatile memory or a file, as the case...
15
by: Chris | last post by:
This is just some dummy code to mimic what's being done in the real code. The actual code is python which is used as a scripting language in a third party app. The data structure returned by the...
3
dfound
by: dfound | last post by:
#include<windows.h> #include<dos.h> #include<dir.h> #include<fstream.h> #include<stdio.h> #include<process.h> #include"resource.h" //resource header file
2
by: poolboi | last post by:
hey guys, i've done most of my web app. for searching almost done but then i got a small little problem with logging in i need to know how session tracking is done in perl if not my log in page...
2
by: Zerge | last post by:
I can launch threads just fine, but then I have to do a time.sleep(n) so the main thread from which they where launched will wait for all the threads to return. How can I detect when all threads...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.