|
J
|
Jane 3/5/2009 |
|
Hi, if Session("GroupID")="group1" Response.Redirect "page1_list.asp" end if |
|
|
G
|
guroos author 3/5/2009 |
Hi, use AfterSuccessfulLogin event and Redirect to another page action on the Events tab for this purpose. Here is a sample:
|
|
|
J
|
Jane 3/6/2009 |
|
Sorry for my fault. if Session("GroupID")="group1"then Response.Redirect "page1_list.asp" end if |
|
|
G
|
guroos author 3/6/2009 |
Sorry for my fault. Here is the correct code:
|
|
|
J
|
Jane 3/6/2009 |
|
Hi, if Session("GroupID")="group1" then str = "select companyid, standnumber from t_Exhibitors_e where groupID='" & Session("GroupID") & "'" Set rstmp = server.CreateObject("ADODB.Recordset") rstmp.open str,dbConnection Response.Redirect t_Exhibitors_e_edit.asp?editid1=" & rstmp("companyid") & "&editid2=" & rstmp("standnumber") rstmp.close set rstmp=nothing end if |
|