Иногда ссылка с параметром вызывает параметр, а иногда - нет. Если у меня открыт IE и я что-то делаю на других вкладках и пытаюсь щелкнуть ссылку с параметром в нем, он появится на главном экране. Если я нажимаю на ссылку без открытого IE, она переходит на сайт с параметром. Пожалуйста, помогите!
Пример ссылки: http://ServerName/time_and_attendance/?timesheet_id=7489
Код ниже:
<!--#INCLUDE virtual="/time_and_attendance/i_time_attendance_header.asp" -->
<%
'---------------------------------------------------------------------------------------------------------------------
'JFV 6-10-2010: Will need these lines uncommented and inserted above the '<!--#INCLUDE' line
' to be used in the alternate e-mail configuration
'<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows 2000 Type Library" -->
'<!--METADATA TYPE="typelib" UUID="00000205-0000-0010-8000-00AA006D2EA4" NAME="ADODB Type Library" -->
'---------------------------------------------------------------------------------------------------------------------
%>
<%
'If there is not a timesheet id send user back to their employee page
If Request("timesheet_id")<>"" Then
my_employees_timesheet_id=Request("timesheet_id")
RedirectUrl="my_employees_timesheet.asp?timesheet_id="&Request("timesheet_id")
'Response.Write my_employees_timesheet_id
Else
Response.Redirect("default.asp")
End If
%>