/ Forside / Teknologi / Udvikling / ASP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
ASP
#NavnPoint
smorch 9259
Harlekin 1866
molokyle 1040
Steffanst.. 758
gandalf 657
smilly 564
gibson 560
cumano 530
MouseKeep.. 480
10  Random 410
Passing live data to Session variables
Fra : Jim


Dato : 21-03-01 18:00

Hiya again

Im trying to make a login to my webpage work.
I created a login and password field with dreamweaver. Also added the
proper scripts.
The login checkes the 2 variables with set entries in my database.

however. I need the loginname on other pages as well. So I want to pass the
login name to a session variable.

is there anyway I can make the filled in login name by a user get passed to
a session variable the same time the user vlivkes the login button?
Note that there is allready an action assigned to the login form (the check
in the database)

greets jim




 
 
Martin Askhøj (21-03-2001)
Kommentar
Fra : Martin Askhøj


Dato : 21-03-01 20:25

"Jim" <jteeuwen@jvh.nl> wrote in message
news:99amo8$3jp3r$1@reader01.wxs.nl...
> Hiya again
>
> Im trying to make a login to my webpage work.
> I created a login and password field with dreamweaver. Also added the
> proper scripts.
> The login checkes the 2 variables with set entries in my database.
>
> however. I need the loginname on other pages as well. So I want to pass
the
> login name to a session variable.
>
> is there anyway I can make the filled in login name by a user get passed
to
> a session variable the same time the user vlivkes the login button?
> Note that there is allready an action assigned to the login form (the
check
> in the database)
>
> greets jim

Something like this:

<INPUT TYPE="Text" NAME="Login" VALUE="<%= Session("Login")%>">


/Martin



Søg
Reklame
Statistik
Spørgsmål : 177557
Tips : 31968
Nyheder : 719565
Indlæg : 6408868
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste