Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asptoday_discuss thread: refresh a page at another location


Message #1 by "Tan Chye Ting" <chyeting18@h...> on Mon, 21 Jan 2002 01:30:50
hi, my i know how i can refresh a page  from another page.example, i would 

like to refresh "page1.asp" from "page2.asp".how do i go about doing that?

thank you
Message #2 by "asame" <asame00@y...> on Mon, 21 Jan 2002 02:13:59 -0000
I don't know what you mean in exact terms, but you could set/reset an

application variable to between two values based on an action in page1.asp

and in the head of page2.asp go:



if application("blah")="refresh" then

Response.Write "<meta blah,blah refresh code

End if



----- Original Message -----

From: "Tan Chye Ting" <chyeting18@h...>

To: "ASPToday Discuss" <asptoday_discuss@p...>

Sent: Monday, January 21, 2002 1:30 AM

Subject: [asptoday_discuss] refresh a page at another location





> hi, my i know how i can refresh a page  from another page.example, i would

> like to refresh "page1.asp" from "page2.asp".how do i go about doing that?

> thank you







_________________________________________________________



Do You Yahoo!?



Get your free @yahoo.com address at http://mail.yahoo.com







Message #3 by "Tan Chye Ting" <chyeting18@h...> on Mon, 21 Jan 2002 03:47:17
i have a main menu that consist of two frames a login frame and  a main 

frame.  all my function r on the login frame.so ,when i click on let say, 

registration then the registration from will appear on the main frame.  my 

problem is when the user login in to my system, i'm suppose to make 

several functions on the login frame available to the user.i'm trying to 

put in some control here.that means if the user does not login then the 

user won't be able to access to other function on my system.and i wanna 

direct the user to another page that says "you are not authorized to this 

page"..something like that...so ,how do i detect that the user already 

logged in?I'm currently using a  session variable to do that,but because i 

can't refresh the login frame, the login frame cannot detect the Session 

variable..so ,even the user did not log in the user still can access the 

function page..get what i mean?...so ,i thought that by refreshing the 

login frame(which is a asp page),then the page can detect the session 

variable....do u hae any other tricks to fix this? i hope you dun mind 

telling me...







> I don't know what you mean in exact terms, but you could set/reset an

> application variable to between two values based on an action in 

page1.asp

> and in the head of page2.asp go:

> 

> if application("blah")="refresh" then

> Response.Write "<meta blah,blah refresh code

> End if

> 

> ----- Original Message -----

> From: "Tan Chye Ting" <chyeting18@h...>

> To: "ASPToday Discuss" <asptoday_discuss@p...>

> Sent: Monday, January 21, 2002 1:30 AM

> Subject: [asptoday_discuss] refresh a page at another location

> 

> 

> > hi, my i know how i can refresh a page  from another page.example, i 

would

> > like to refresh "page1.asp" from "page2.asp".how do i go about doing 

that?

> > thank you

> 

> 

> 

> _________________________________________________________

> 

> Do You Yahoo!?

> 

> Get your free @yahoo.com address at http://mail.yahoo.com

> 

> 

> 


  Return to Index