[WebDNA] Rewrite url before redirect

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108079
interpreted = N
texte = I've got this javascript pulling Facebook information when a user hits my page. To keep the script from looping it returns #login at the end on the url. I then redirect depending some lookups like so: [Redirect url=buy.tpl[url]?cart=[cart][/url]] And get the following in my url bar in some browsers only: buy.tpl?cart=1123452343434#login Everything works fine in Safari, Chrome, and on iphone but I'm thinking the "#LOGIN" might be my problem with it not working in firefox and android. Is it possible to rewrite the url and remove the tailing "#login" before redirecting? Dave Stengel Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Rewrite url before redirect (Dave Stengel 2012)
  2. Re: [WebDNA] Rewrite url before redirect (Govinda 2012)
  3. [WebDNA] Rewrite url before redirect (Dave Stengel 2012)
I've got this javascript pulling Facebook information when a user hits my page. To keep the script from looping it returns #login at the end on the url. I then redirect depending some lookups like so: [Redirect url=buy.tpl[url]?cart=[cart][/url]] And get the following in my url bar in some browsers only: buy.tpl?cart=1123452343434#login Everything works fine in Safari, Chrome, and on iphone but I'm thinking the "#LOGIN" might be my problem with it not working in firefox and android. Is it possible to rewrite the url and remove the tailing "#login" before redirecting? Dave Stengel Dave Stengel

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Conditional searching & displaying (1997) Pulling Captions from JPGs (2003) Reload of the shoppingcart.tmpl page (1999) inconsistencies (1999) Installer needed (2004) [WebDNA] Deliminating encrypted values (2008) Multiple Passwords (1997) Ship Cost Calculated via Subtotal (1998) Monitor Hard Disk Space? (2003) Tech question about web dna actions (1998) japanese characters (1997) [WebDNA] can webdna set the email header (w/[sendmail]) that (2012) WebCat.acgi from /cgi-bin/? (1997) Running 2 two WebCatalog.acgi's (1996) Math (1997) Pulldown Menu Problem (2000) Three new problems, maybe a fourth (1997) [SearchString] usage (1997) Euca Links Manager (2003) Comments in db? (1997)