Click here to Skip to main content
15,921,793 members
Home / Discussions / Web Development
   

Web Development

 
Generaljumping to a different page Pin
omkamal17-Jan-02 10:29
omkamal17-Jan-02 10:29 
GeneralRe: jumping to a different page Pin
Konstantin Vasserman17-Jan-02 11:20
Konstantin Vasserman17-Jan-02 11:20 
GeneralRe: jumping to a different page Pin
omkamal17-Jan-02 11:30
omkamal17-Jan-02 11:30 
GeneralRe: jumping to a different page Pin
Konstantin Vasserman17-Jan-02 11:35
Konstantin Vasserman17-Jan-02 11:35 
GeneralRe: jumping to a different page Pin
omkamal17-Jan-02 11:39
omkamal17-Jan-02 11:39 
GeneralRe: jumping to a different page Pin
Konstantin Vasserman17-Jan-02 11:47
Konstantin Vasserman17-Jan-02 11:47 
GeneralRe: jumping to a different page Pin
omkamal17-Jan-02 11:52
omkamal17-Jan-02 11:52 
GeneralRe: jumping to a different page Pin
Konstantin Vasserman17-Jan-02 11:58
Konstantin Vasserman17-Jan-02 11:58 
If you want login info in page2.aspx you will probably want it in many more other pages. Just store it in Session variable and check this variable in every page.

Yes since your page1.asp doing all the login stuff you can refer to username textbox as if it was a server object:

if( txtUsername.Text == "blah" )

or

If txtUsername.Text = "blah" Then

you don't have to do Request.Form() stuff.

Server.Transfer() is better than Response.Redirect() because it does not do a round trip to client and back it just transfers control to another page.
GeneralRe: jumping to a different page Pin
Konstantin Vasserman17-Jan-02 12:01
Konstantin Vasserman17-Jan-02 12:01 
GeneralRe: jumping to a different page Pin
omkamal18-Jan-02 3:57
omkamal18-Jan-02 3:57 
GeneralRe: jumping to a different page Pin
21-Jan-02 19:29
suss21-Jan-02 19:29 
GeneralRe: jumping to a different page Pin
Paul Watson19-Jan-02 4:13
sitebuilderPaul Watson19-Jan-02 4:13 
GeneralRe: jumping to a different page Pin
omkamal20-Jan-02 5:23
omkamal20-Jan-02 5:23 
GeneralRe: jumping to a different page Pin
Konstantin Vasserman20-Jan-02 5:49
Konstantin Vasserman20-Jan-02 5:49 
GeneralRe: jumping to a different page Pin
Joshua Guy28-Feb-02 4:15
Joshua Guy28-Feb-02 4:15 
GeneralNo more ADO after installing latest MDAC! Pin
Alvaro Mendez14-Jan-02 7:26
Alvaro Mendez14-Jan-02 7:26 
GeneralGetting focus of a form element Pin
Wolfram Steinke12-Jan-02 23:53
Wolfram Steinke12-Jan-02 23:53 
GeneralRe: Getting focus of a form element Pin
Paul Watson15-Jan-02 10:07
sitebuilderPaul Watson15-Jan-02 10:07 
GeneralDHTML - replacing text in a table cell Pin
Wolfram Steinke10-Jan-02 7:37
Wolfram Steinke10-Jan-02 7:37 
GeneralRe: DHTML - replacing text in a table cell Pin
alex.barylski11-Jan-02 11:53
alex.barylski11-Jan-02 11:53 
QuestionAnyone have a WAP device? Pin
Chris Maunder10-Jan-02 1:34
cofounderChris Maunder10-Jan-02 1:34 
AnswerRe: Anyone have a WAP device? Pin
Paul Watson10-Jan-02 8:42
sitebuilderPaul Watson10-Jan-02 8:42 
GeneralRe: Anyone have a WAP device? Pin
Chris Maunder10-Jan-02 10:45
cofounderChris Maunder10-Jan-02 10:45 
GeneralRe: Anyone have a WAP device? Pin
Paul Watson10-Jan-02 23:31
sitebuilderPaul Watson10-Jan-02 23:31 
AnswerRe: Anyone have a WAP device? Pin
markkuk10-Jan-02 20:22
markkuk10-Jan-02 20:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.