How to strip out a url variable

前端 未结 5 1885

I have a url.LoginID, and I\'d like to remove it from the address bar when the user clicks on the link to login. It has to be a bookmark, it can\'t be a form submit.

<
5条回答
  •  囚心锁ツ
    2020-12-10 20:38

    There are number of ways to do this, here is one way using a list loop to read through your existing parameters and check for the one you want to ignore:

    
    
    
        
            
        
    
    
    
    
    

    Hope that helps!

提交回复
热议问题