0

How to redirect a user to another page

hi, how can I redirect a user from the server side to another page after a successful login?

When I try to do a redirect, the browser shows my webserver's URL ( which is natural). How do you guys do that???

by
4 Replies
  • QUOTE (Ratnadeep @ Jun 22 2010, 09:05 AM) <{POST_SNAPBACK}>
    hi, how can I redirect a user from the server side to another page after a successful login?

    When I try to do a redirect, the browser shows my webserver's URL ( which is natural). How do you guys do that???


    There is a brief reference to redirects here: http://developer.yahoo.com/mobile/blueprin...t_Tracking.html . It works just like doing a redirect elsewhere using the Location header. Except, with Blueprint you can use the widget syntax (widget:mywidget/newpage).
    0
  • QUOTE (Jason @ Jun 22 2010, 10:08 AM) <{POST_SNAPBACK}>
    There is a brief reference to redirects here: http://developer.yahoo.com/mobile/blueprin...t_Tracking.html . It works just like doing a redirect elsewhere using the Location header. Except, with Blueprint you can use the widget syntax (widget:mywidget/newpage).


    By what you mentioned, I can guess that I might have to create a response filter and edit the Location header element to the correct path. So, if my webserver's URL is like http://myweb.server.com/secure/home , then the Location header should have something like this : http://myapp.bpapps.com/secure/home . Is that correct???
    0
  • QUOTE (Jason @ Jun 22 2010, 10:08 AM) <{POST_SNAPBACK}>
    There is a brief reference to redirects here: http://developer.yahoo.com/mobile/blueprin...t_Tracking.html . It works just like doing a redirect elsewhere using the Location header. Except, with Blueprint you can use the widget syntax (widget:mywidget/newpage).


    And can I also use something like this in the Location header -

    Location: widget:secure/home

    Will that map to my webserver's secure/home path?
    0
  • QUOTE (Ratnadeep @ Jun 22 2010, 11:21 AM) <{POST_SNAPBACK}>
    And can I also use something like this in the Location header -

    Location: widget:secure/home

    Will that map to my webserver's secure/home path?


    Should be widget:widgetid/secure/home
    0
This forum is locked.

Recent Posts

in Blueprint General Discussion