This topic is locked

After Succesfull login event

12/2/2007 19:25:15
ASPRunnerPro General questions
lefty author

exuse the ownerid in topic I mean Session(groupid)
I am trying to redirect users after sucessfull login event based on the Groupid from the login table.

I use the field 'fldgroup' as the groupid in the login table.

I have tried following sample ; it does not redirect. Need to know when session groupid is stored.
my sample code is
if Session("groupid") = "8" then

Response.Redirect "anotherpage.asp"

else

Response.Redirect "my_club_list.asp"

end if

Sergey Kornilov admin 12/3/2007

Your sample is correct, Session("groupid") stores the Group ID.
More info:

http://www.xlinesoft.com/asprunner/docs/as...n_variables.htm

lefty author 12/3/2007

Your sample is correct, Session("groupid") stores the Group ID.

More info:

http://www.xlinesoft.com/asprunner/docs/as...n_variables.htm


Thanks Sergey
I had the wrong value in my if statement.

lefty author 12/3/2007

Your sample is correct, Session("groupid") stores the Group ID.

More info:

http://www.xlinesoft.com/asprunner/docs/as...n_variables.htm


Thanks Sergey
I had the wrong value in my if statement.