Rev 4955 | Rev 5506 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%'=====================================================' QSTR'=====================================================' List all your query string parameters which need to be persistant%><%Sub Store_QSTR_parameter ( SScookie, SSpar, SSQSTR )If NOT IsEmpty(Request( SSpar )) Then'SSQSTR = SSQSTR &"&"& SSpar &"=" & Request(SSpar)(1)'Store to cookieIf SScookie = "Y" ThenResponse.Cookies(COOKIE_RELEASEMANAGER_MEMORY)(SSpar) = Request(SSpar)(1)ElseIf SScookie = "N" ThenResponse.Cookies(COOKIE_RELEASEMANAGER_MEMORY)(SSpar) = ""End IfEnd IfEnd SubFunction QStrPar ( SSpar )If NOT IsEmpty(Request( SSpar )) ThenQStrPar = Request(SSpar)(1)ElseIf NOT IsEmpty(Request.Cookies(COOKIE_RELEASEMANAGER_MEMORY)(SSpar)) ThenQStrPar = Request.Cookies(COOKIE_RELEASEMANAGER_MEMORY)(SSpar)End IfEnd IfEnd FunctionFunction QSTR_All'QSTR_All = "&" & Request.ServerVariables("QUERY_STRING")QSTR_All = "&pv_id="& Request("pv_id") &"&rtag_id="& Request("rtag_id")End FunctionFunction QSTR_FullQueryQSTR_FullQuery = Request.ServerVariables("QUERY_STRING")If QSTR_FullQuery <> "" ThenQSTR_FullQuery = "&" & QSTR_FullQueryEnd IfEnd FunctionFunction Persists_Query_String ( sNewParamVals )Dim aParameters, sParam, tempSTRtempSTR = ""If NOT IsEmpty(sNewParamVals) ThenFor Each sParam In Request.QueryStringIf InStr ( sNewParamVals, sParam &"=") < 1 ThentempSTR = tempSTR & sParam &"="& Request( sParam ) &"&"End IfNextPersists_Query_String = tempSTR & sNewParamValsElsePersists_Query_String = Request.ServerVariables("QUERY_STRING")End IfEnd Function%><%Dim QSTRQSTR = ""'Call Store_QSTR_parameter ( "hidelocal", QSTR )'Call Store_QSTR_parameter ( "showext", QSTR )Call Store_QSTR_parameter ( "N", "tab", QSTR )'Call Store_QSTR_parameter ( "N", "pv_id", QSTR )'Call Store_QSTR_parameter ( "N", "group_id", QSTR )'Call Store_QSTR_parameter ( "N", "rtag_id", QSTR )Call Store_QSTR_parameter ( "Y", "Bshow", QSTR )Call Store_QSTR_parameter ( "Y", "Pshow", QSTR )'Call Store_QSTR_parameter ( "Y", "OLshow", QSTR )Call Store_QSTR_parameter ( "Y", "Pview", QSTR )Call Store_QSTR_parameter ( "Y", "Dview", QSTR )'Call Store_QSTR_parameter ( "N", "localscript", QSTR )'Call Store_QSTR_parameter ( "extpkg", QSTR )'Call Store_QSTR_parameter ( "extrtag_id", QSTR )%>