Re: Go to a web page automatically

2010-07-17 Thread Tim Selander

Jim,

Very detailed response, over my head but the links you included 
have lead to much more study on my part.


This has gotten late, but I would be remiss if I didn't thank you 
for the time you spent on this educational post!


Tim Selander

On 7/11/10 11:03 AM, Jim Ault wrote:

On Jul 10, 2010, at 5:56 PM, Sarah Reichelt wrote:

On Sun, Jul 11, 2010 at 10:20 AM, Tim Selander
selan...@tkf.att.ne.jp wrote:


Thanks for the reply. Sorry for not being clear. By 'open' I mean I just
want to take the user to another page, as if they had clicked a link.

I'm trying to write a simple form to get user input (based on Sarah's
revForm.irev script) and want to take them to a 'Thank you' page
automatically after they submit the info.


I found that the easiest way was to show or hide info on the same
page, depending on user input.

But if you want to take them to a different page, you can redirect.
Check out the script
http://www.troz.net/onrev/samples/showscript.irev?showscript=desktop.irev

Note that the redirect headers have to be put BEFORE anything else
is written to the page.

Sarah




For web content serving,
there are actually 3 different things being specified in this thread.
UPDATING THE SAME PAGE, REDIRECT, LOCATION
I think the bottom of this post has the answer you probably want to use.


UPDATING THE SAME PAGE - sending HTML tags and content to be displayed
in the current browser window
If the user does 'reload' or 'refresh', the original content will be
re-displayed since the browser still thinks it is focused on the
original url.
The new content does not change the browser history since there has been
no real navigation as far as the browser is concerned.

?rev
get url http://www.runrev.com;
put it
?



REDIRECT - tells the browser to keep the current url in history, but now
focus on a new url
This is commonly used to keep old links stored out on the internet
working, but 'bounce' to new web pages or url.

This gets a little complicated when you break down the different
meanings of a url.
http://someDomain.com/ or http://www.someDomain.com/ or
http://someDomain.com/index.html
-- will simply show the default page for the domain

http://someDomain.com/aboutus.html or
http://someDomain.com/aboutus.php or
http://someDomain.com/aboutus.cgi or
http://someDomain.com/aboutus.irev
-- will simply show the page for that location

http://someDomain.com/aboutus.html#drivingMapSection
http://someDomain.com/aboutus.php#drivingMapSection
http://someDomain.com/aboutus.cgii#drivingMapSection
http://someDomain.com/aboutus.irev#drivingMapSection
-- will show the page and scroll to the anchor named

http://someDomain.com/aboutus.html?loc=homeOffice xx no
http://someDomain.com/aboutus.php?loc=homeOffice
http://someDomain.com/aboutus.cgi?loc=homeOffice
http://someDomain.com/aboutus.irev?loc=homeOffice
-- will show the page with info that a script provides by using the
variable 'loc' with the value homeOffice
The exact data sent back to the browser depends on the script programming
NOTE: PHP and irev and cgi cause scripts to run on the server, but HTML
does not, so sending variables.

The reason scripts are run is that Apache has been told when it started
that those 3 strings mean that Apache should follow its directives and
run the correct script engine. At this time, the only server that knows
about irev is the On-Rev system, thus irev scripts cannot be run on
other systems.

The On-Rev server knows how to run scripts using PHP, cgi, as well as irev.



LOCATION - This is probably what you were looking for
- change the Browser's memory variable that causes the browser to focus
on the new url, keeping the original url in history, and reloading the
new url.
What you probably want to accomplish is sending a raw HTTP header to the
browser.

More details here [ http://php.net/manual/en/function.header.php

Possible headers to send to a browser
Their are two kinds,
Request (from browser) to instruct the Apache server
Accept-Language: da
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Response (from server) to instruct the browser
Content-Type: text/html; charset=utf-8
Location: http://www.w3.org/pub/WWW/People.html
Refresh: 5; url=http://www.w3.org/pub/WWW/People.html
(refresh the same url after 5 seconds)
Set-Cookie: UserID=JohnDoe; Max-Age=3600; Version=1
(store data on the user's hard drive)
(but it expires in 3600 seconds, 60 minutes)
http://en.wikipedia.org/wiki/List_of_HTTP_headers

and specifically HTTP_location discussed here
http://en.wikipedia.org/wiki/HTTP_location

so in irev you would
--***
?rev
put HTTP/1.1 302 Found into sendResponse
put cr  Location: http://www.www.runrev.com; after sendResponse
put sendResponse -- back to browser that started the dialog
?
--***

Just to let you know, REDIRECTION issues are much more complex
This is a good overview...
http://en.wikipedia.org/wiki/URL_redirection


Bottom line for your specific task, use the scripting just below the
*

Hope this helps. 

Re: Go to a web page automatically

2010-07-11 Thread Richard Gaskin

Tim Selander wrote:

Using the on-rev.com server scripting, is there a ?rev  command
that will open a specified web page? 'launch' URL didn't seem to
do it for me.


To send the client's browser to a different page after processing their 
request in a CGI, I have the CGI include this line:


  put  location: http://www.domain.com/page.htmlcrcr

Given the similarities between the CGI and RevServer engines, I would 
expect that to work in RevServer.


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Go to a web page automatically

2010-07-11 Thread Pierre Sahores
Richard,

  put  location: http://www.domain.com/page.htmlcrcr

On the on-rev.com revserver, put  url http://www.domain.com/page.html; works 
fine while put  location: http://www.domain.com/page.htmlcrcr don't.

Best, Pierre

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.com






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Go to a web page automatically

2010-07-10 Thread Michael Kann
Tim, 

Not quite sure what you mean by open?

Mike

--- On Sat, 7/10/10, Tim Selander selan...@tkf.att.ne.jp wrote:

 From: Tim Selander selan...@tkf.att.ne.jp
 Subject: Go to a web page automatically
 To: How to use Revolution use-revolution@lists.runrev.com
 Date: Saturday, July 10, 2010, 11:23 AM
 Hi,
 
 Using the on-rev.com server scripting, is there a
 ?rev  command that will open a specified web page?
 'launch' URL didn't seem to do it for me.
 
 Thanks,
 
 Tim Selander
 Tokyo, Japan
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage
 your subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Go to a web page automatically

2010-07-10 Thread Pierre Sahores
Try : get url http://yoururl ; put it

Best, P.

Le 10 juil. 2010 à 18:23, Tim Selander a écrit :

 Hi,
 
 Using the on-rev.com server scripting, is there a ?rev  command that will 
 open a specified web page? 'launch' URL didn't seem to do it for me.
 
 Thanks,
 
 Tim Selander
 Tokyo, Japan
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.com






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Go to a web page automatically

2010-07-10 Thread Michael Kann
Greetings Pierre,

The following works:

?rev
get url http://www.runrev.com;
put it
?

But the script loses some images and formatting along the way. If we just want 
the html source then it works fine.

Mike


--- On Sat, 7/10/10, Pierre Sahores psaho...@free.fr wrote:

 From: Pierre Sahores psaho...@free.fr
 Subject: Re: Go to a web page automatically
 To: How to use Revolution use-revolution@lists.runrev.com
 Date: Saturday, July 10, 2010, 11:45 AM
 Try : get url http://yoururl ;
 put it
 
 Best, P.
 
 Le 10 juil. 2010 à 18:23, Tim Selander a écrit :
 
  Hi,
  
  Using the on-rev.com server scripting, is there a
 ?rev  command that will open a specified web page?
 'launch' URL didn't seem to do it for me.
  
  Thanks,
  
  Tim Selander
  Tokyo, Japan
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and
 manage your subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
  
 
 --
 Pierre Sahores
 mobile : (33) 6 03 95 77 70
 
 www.wrds.com
 www.sahores-conseil.com
 
 
 
 
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage
 your subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Go to a web page automatically

2010-07-10 Thread Pierre Sahores
Mike,

To get all the associated files (images, css, javascripts) fine loading along 
the main html file, you need to replace the relative path of those ones by the 
absolutes ones, if they are not loading from the same path than your irev 
script including the get url ; put it commands.

?rev
get url http://www.runrev.com;

replace the relative path of the css by the absolute one in it
replace the relative path of the javascript by the absolute one in it
replace the relative path of the image by the absolute one in it
etc...

put it
?

Best, P.


Le 10 juil. 2010 à 19:10, Michael Kann a écrit :

 Greetings Pierre,
 
 The following works:
 
 ?rev
 get url http://www.runrev.com;
 put it
 ?
 
 But the script loses some images and formatting along the way. If we just 
 want the html source then it works fine.
 
 Mike
 
 
 --- On Sat, 7/10/10, Pierre Sahores psaho...@free.fr wrote:
 
 From: Pierre Sahores psaho...@free.fr
 Subject: Re: Go to a web page automatically
 To: How to use Revolution use-revolution@lists.runrev.com
 Date: Saturday, July 10, 2010, 11:45 AM
 Try : get url http://yoururl ;
 put it
 
 Best, P.
 
 Le 10 juil. 2010 à 18:23, Tim Selander a écrit :
 
 Hi,
 
 Using the on-rev.com server scripting, is there a
 ?rev  command that will open a specified web page?
 'launch' URL didn't seem to do it for me.
 
 Thanks,
 
 Tim Selander
 Tokyo, Japan
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and
 manage your subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 --
 Pierre Sahores
 mobile : (33) 6 03 95 77 70
 
 www.wrds.com
 www.sahores-conseil.com
 
 
 
 
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage
 your subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.com






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Go to a web page automatically

2010-07-10 Thread Michael Kann
Pierre,

Thanks as always.

Mike

--- On Sat, 7/10/10, Pierre Sahores psaho...@free.fr wrote:

 From: Pierre Sahores psaho...@free.fr
 Subject: Re: Go to a web page automatically
 To: How to use Revolution use-revolution@lists.runrev.com
 Date: Saturday, July 10, 2010, 12:42 PM
 Mike,
 
 To get all the associated files (images, css, javascripts)
 fine loading along the main html file, you need to replace
 the relative path of those ones by the absolutes ones, if
 they are not loading from the same path than your irev
 script including the get url ; put it commands.
 
 ?rev
 get url http://www.runrev.com;
 
 replace the relative path of the css by the absolute one in
 it
 replace the relative path of the javascript by the absolute
 one in it
 replace the relative path of the image by the absolute one
 in it
 etc...
 
 put it
 ?
 
 Best, P.
 
 
 Le 10 juil. 2010 à 19:10, Michael Kann a écrit :
 
  Greetings Pierre,
  
  The following works:
  
  ?rev
  get url http://www.runrev.com;
  put it
  ?
  
  But the script loses some images and formatting along
 the way. If we just want the html source then it works
 fine.
  
  Mike
  
  
  --- On Sat, 7/10/10, Pierre Sahores psaho...@free.fr
 wrote:
  
  From: Pierre Sahores psaho...@free.fr
  Subject: Re: Go to a web page automatically
  To: How to use Revolution use-revolution@lists.runrev.com
  Date: Saturday, July 10, 2010, 11:45 AM
  Try : get url http://yoururl ;
  put it
  
  Best, P.
  
  Le 10 juil. 2010 à 18:23, Tim Selander a écrit
 :
  
  Hi,
  
  Using the on-rev.com server scripting, is
 there a
  ?rev  command that will open a specified
 web page?
  'launch' URL didn't seem to do it for me.
  
  Thanks,
  
  Tim Selander
  Tokyo, Japan
 
 ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe,
 unsubscribe and
  manage your subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
  
  
  --
  Pierre Sahores
  mobile : (33) 6 03 95 77 70
  
  www.wrds.com
  www.sahores-conseil.com
  
  
  
  
  
  
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe
 and manage
  your subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
  
  
  
  
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and
 manage your subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
  
 
 --
 Pierre Sahores
 mobile : (33) 6 03 95 77 70
 
 www.wrds.com
 www.sahores-conseil.com
 
 
 
 
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage
 your subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Go to a web page automatically

2010-07-10 Thread Tim Selander

Good morning!

Thanks for the reply. Sorry for not being clear. By 'open' I mean 
I just want to take the user to another page, as if they had 
clicked a link.


I'm trying to write a simple form to get user input (based on 
Sarah's revForm.irev script) and want to take them to a 'Thank 
you' page automatically after they submit the info.


Tim Selander
Tokyo, Japan

On 7/11/10 1:36 AM, Michael Kann wrote:

Tim,

Not quite sure what you mean by open?

Mike

--- On Sat, 7/10/10, Tim Selanderselan...@tkf.att.ne.jp  wrote:


From: Tim Selanderselan...@tkf.att.ne.jp
Subject: Go to a web page automatically
To: How to use Revolutionuse-revolution@lists.runrev.com
Date: Saturday, July 10, 2010, 11:23 AM
Hi,

Using the on-rev.com server scripting, is there a
?rev  command that will open a specified web page?
'launch' URL didn't seem to do it for me.

Thanks,

Tim Selander
Tokyo, Japan
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage
your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Go to a web page automatically

2010-07-10 Thread Tim Selander

Hi again, Mike

That code works for me! Thanks. The page I want to call up is in 
the same directory, so all the graphics, etc., come in fine too.


Thank you!

Tim Selander
Tokyo, Japan

On 7/11/10 2:10 AM, Michael Kann wrote:

Greetings Pierre,

The following works:

?rev
get url http://www.runrev.com;
put it
?

But the script loses some images and formatting along the way. If we just want 
the html source then it works fine.

Mike


--- On Sat, 7/10/10, Pierre Sahorespsaho...@free.fr  wrote:


From: Pierre Sahorespsaho...@free.fr
Subject: Re: Go to a web page automatically
To: How to use Revolutionuse-revolution@lists.runrev.com
Date: Saturday, July 10, 2010, 11:45 AM
Try : get url http://yoururl ;
put it

Best, P.

Le 10 juil. 2010 à 18:23, Tim Selander a écrit :


Hi,

Using the on-rev.com server scripting, is there a

?rev  command that will open a specified web page?
'launch' URL didn't seem to do it for me.


Thanks,

Tim Selander
Tokyo, Japan
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and

manage your subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.com






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage
your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Go to a web page automatically

2010-07-10 Thread Sarah Reichelt
On Sun, Jul 11, 2010 at 10:20 AM, Tim Selander selan...@tkf.att.ne.jp wrote:
 Good morning!

 Thanks for the reply. Sorry for not being clear. By 'open' I mean I just
 want to take the user to another page, as if they had clicked a link.

 I'm trying to write a simple form to get user input (based on Sarah's
 revForm.irev script) and want to take them to a 'Thank you' page
 automatically after they submit the info.

I found that the easiest way was to show or hide info on the same
page, depending on user input.

But if you want to take them to a different page, you can redirect.
Check out the script
http://www.troz.net/onrev/samples/showscript.irev?showscript=desktop.irev

Note that the redirect headers have to be put BEFORE anything else
is written to the page.

Cheers,
Sarah

Rodeo discussion:
http://rodeoapps.com/rodeo-discuss-among-yourselves
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Go to a web page automatically

2010-07-10 Thread Jim Ault

On Jul 10, 2010, at 5:56 PM, Sarah Reichelt wrote:
On Sun, Jul 11, 2010 at 10:20 AM, Tim Selander  
selan...@tkf.att.ne.jp wrote:


Thanks for the reply. Sorry for not being clear. By 'open' I mean I  
just

want to take the user to another page, as if they had clicked a link.

I'm trying to write a simple form to get user input (based on Sarah's
revForm.irev script) and want to take them to a 'Thank you' page
automatically after they submit the info.


I found that the easiest way was to show or hide info on the same
page, depending on user input.

But if you want to take them to a different page, you can redirect.
Check out the script
http://www.troz.net/onrev/samples/showscript.irev?showscript=desktop.irev

Note that the redirect headers have to be put BEFORE anything else
is written to the page.

Sarah




For web content serving,
there are actually 3 different things being specified in this thread.
UPDATING THE SAME PAGE, REDIRECT, LOCATION
I think the bottom of this post has the answer you probably want to use.


UPDATING THE SAME PAGE - sending HTML tags and content to be displayed  
in the current browser window
If the user does 'reload' or 'refresh', the original content will be  
re-displayed since the browser still thinks it is focused on the  
original url.
The new content does not change the browser history since there has  
been no real navigation as far as the browser is concerned.

?rev
get url http://www.runrev.com;
put it
?



REDIRECT - tells the browser to keep the current url in history, but  
now focus on a new url
This is commonly used to keep old links stored out on the internet  
working, but 'bounce' to new web pages or url.


This gets a little complicated when you break down the different  
meanings of a url.

http://someDomain.com/   or http://www.someDomain.com/   or 
http://someDomain.com/index.html
--  will simply show the default page for the domain

http://someDomain.com/aboutus.html  or
http://someDomain.com/aboutus.php  or
http://someDomain.com/aboutus.cgi  or
http://someDomain.com/aboutus.irev
--  will simply show the page for that location

http://someDomain.com/aboutus.html#drivingMapSection
http://someDomain.com/aboutus.php#drivingMapSection
http://someDomain.com/aboutus.cgii#drivingMapSection
http://someDomain.com/aboutus.irev#drivingMapSection
--  will show the page and scroll to the anchor named

http://someDomain.com/aboutus.html?loc=homeOffice xx no
http://someDomain.com/aboutus.php?loc=homeOffice
http://someDomain.com/aboutus.cgi?loc=homeOffice
http://someDomain.com/aboutus.irev?loc=homeOffice
-- will show the page with info that a script provides by using the  
variable 'loc' with the value homeOffice
The exact data sent back to the browser depends on the script  
programming
NOTE: PHP and irev and cgi cause scripts to run on the server, but  
HTML does not, so sending variables.


The reason scripts are run is that Apache has been told when it  
started that those 3 strings mean that Apache should follow its  
directives and run the correct script engine.  At this time, the only  
server that knows about irev is the On-Rev system, thus irev scripts  
cannot be run on other systems.


The On-Rev server knows how to run scripts using PHP, cgi, as well as  
irev.




LOCATION - This is probably what you were looking for
 - change the Browser's memory variable that causes the browser to  
focus on the new url, keeping the original url in history, and  
reloading the new url.
What you probably want to accomplish is sending a raw HTTP header to  
the browser.


More details here [ http://php.net/manual/en/function.header.php

Possible headers to send to a browser
Their are two kinds,
  Request (from browser) to instruct the Apache server
Accept-Language: da
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
   Response (from server) to instruct the browser
Content-Type: text/html; charset=utf-8
Location: http://www.w3.org/pub/WWW/People.html
Refresh: 5; url=http://www.w3.org/pub/WWW/People.html
  (refresh the same url after 5 seconds)
Set-Cookie: UserID=JohnDoe; Max-Age=3600; Version=1
   (store data on the user's hard drive)
   (but it expires in 3600 seconds, 60 minutes)
   http://en.wikipedia.org/wiki/List_of_HTTP_headers

and specifically  HTTP_location   discussed here
   http://en.wikipedia.org/wiki/HTTP_location

so in irev you would
--***
?rev
put HTTP/1.1 302 Found into sendResponse
put cr  Location: http://www.www.runrev.com; after sendResponse
put sendResponse  -- back to browser that started the dialog
?
--***

Just to let you know, REDIRECTION issues are much more complex
This is a good overview...
  http://en.wikipedia.org/wiki/URL_redirection


Bottom line for your specific task, use the scripting just below the  
*


Hope this helps.  You have chosen to enter a world that can be very  
confusing, so tread carefully and study tons of examples.



Jim Ault
Las Vegas




___

Re: Go to a web page automatically

2010-07-10 Thread Mike Bonner
YOu can also use meta refresh to redirect to a new page. See here:
http://webdesign.about.com/od/metataglibraries/a/aa080300a.htm

Or conversly, a javascript method can be found here:
http://www.web-source.net/javascript_redirect.htm

Also, if you have a set of criteria on the first page you load that
determines the page you actually want to load, similar to what Sarah
demonstrated, you can do your check for whatever criteria and then
simply include the local page I want based on that criteria.



On Sat, Jul 10, 2010 at 8:56 PM, Sarah Reichelt
sarah.reich...@gmail.com wrote:
 On Sun, Jul 11, 2010 at 10:20 AM, Tim Selander selan...@tkf.att.ne.jp wrote:
 Good morning!

 Thanks for the reply. Sorry for not being clear. By 'open' I mean I just
 want to take the user to another page, as if they had clicked a link.

 I'm trying to write a simple form to get user input (based on Sarah's
 revForm.irev script) and want to take them to a 'Thank you' page
 automatically after they submit the info.

 I found that the easiest way was to show or hide info on the same
 page, depending on user input.

 But if you want to take them to a different page, you can redirect.
 Check out the script
 http://www.troz.net/onrev/samples/showscript.irev?showscript=desktop.irev

 Note that the redirect headers have to be put BEFORE anything else
 is written to the page.

 Cheers,
 Sarah

 Rodeo discussion:
 http://rodeoapps.com/rodeo-discuss-among-yourselves
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Go to a web page automatically

2010-07-10 Thread Michael Kann
Tim,

Redirect that thanks eastward to Pierre. I just checked out what he proposed.

Mike

--- On Sat, 7/10/10, Tim Selander selan...@tkf.att.ne.jp wrote:

 From: Tim Selander selan...@tkf.att.ne.jp
 Subject: Re: Go to a web page automatically
 To: How to use Revolution use-revolution@lists.runrev.com
 Date: Saturday, July 10, 2010, 7:35 PM
 Hi again, Mike
 
 That code works for me! Thanks. The page I want to call up
 is in 
 the same directory, so all the graphics, etc., come in fine
 too.
 
 Thank you!
 
 Tim Selander
 Tokyo, Japan
 
 On 7/11/10 2:10 AM, Michael Kann wrote:
  Greetings Pierre,
 
  The following works:
 
  ?rev
  get url http://www.runrev.com;
  put it
  ?
 
  But the script loses some images and formatting along
 the way. If we just want the html source then it works
 fine.
 
  Mike
 
 
  --- On Sat, 7/10/10, Pierre Sahorespsaho...@free.fr 
 wrote:
 
  From: Pierre Sahorespsaho...@free.fr
  Subject: Re: Go to a web page automatically
  To: How to use Revolutionuse-revolution@lists.runrev.com
  Date: Saturday, July 10, 2010, 11:45 AM
  Try : get url http://yoururl ;
  put it
 
  Best, P.
 
  Le 10 juil. 2010 à 18:23, Tim Selander a écrit
 :
 
  Hi,
 
  Using the on-rev.com server scripting, is
 there a
  ?rev  command that will open a specified
 web page?
  'launch' URL didn't seem to do it for me.
 
  Thanks,
 
  Tim Selander
  Tokyo, Japan
 
 ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe,
 unsubscribe and
  manage your subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
  --
  Pierre Sahores
  mobile : (33) 6 03 95 77 70
 
  www.wrds.com
  www.sahores-conseil.com
 
 
 
 
 
 
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe
 and manage
  your subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 
 
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and
 manage your subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage
 your subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution