[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:

notification solutions (1997) WebCat2: Items xx to xx shown, etc. (1997) Security Levels... Possible? (2000) gateway application timeouts (1998) finding the next thursday (2000) Auto Fill Forms (2000) Pirated WebCat? My 2 cents worth.. (2003) getchars broken? (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) sorting by date Y2K mix up (2000) Queertrons? (1997) OT: ASP Developer (1999) Summing fields (1997) Webstar SSL and Non-SSL question (1998) Initiating NewCart (1997) RAM variables (1997) So when do we get something similar? (1998) Resume Catalog ? (1997) CommandSecurity? (1997) Grep and removing text (2002)