Forums

ASP

This topic is locked

Refresh source page

Posted 29 Jul 2002 06:34:51
1
has voted
29 Jul 2002 06:34:51 Talal Nabil posted:
<img src=../images/dmxzone/forum/icon_smile_question.gif border=0 align=middle> hello...
Do you guys have any idea about how to refresh a page based on an action in another page. ex: if the default page contains login link and when you successfully login in the login page it refresh the defult page to show the user information.. !!

Replies

Replied 30 Jul 2002 18:26:10
30 Jul 2002 18:26:10 aegis kleais replied:
Cant you just place includes in the files needed?

And have a sub in there like

Sub RefreshMe
Response.Redirect(Server.URLEncode(Request.ServerVariables("SCRIPT_NAME"))
End Sub

And then in the page when you want to perform the refresh just type:

&lt;% Call RefreshMe %&gt;



Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])

Reply to this topic