Jan K. van Dalen
|
| Posted: 08/19/2001, 9:45 PM |
|
Is there a session variable that holds the User Code entered when login in?
I know I can have the UserNo, and I know I could look up the database, but
was just wondering?
|
|
|
 |
Alexey Alexapolsky
|
| Posted: 08/20/2001, 2:35 AM |
|
this is UserID variable
--
Alex
Jan K. van Dalen <vandalen@mindspring.com> wrote in message
news:9lq4ku$kaa$1@news.codecharge.com...
> Is there a session variable that holds the User Code entered when login
in?
>
> I know I can have the UserNo, and I know I could look up the database, but
> was just wondering?
>
>
|
|
|
 |
Jan K. van Dalen
|
| Posted: 08/20/2001, 8:48 AM |
|
Hi Alexey,
UserID gives me the ID of the security table not what the user entered in
the "Login" entry field.
"Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
news:9lqll4$irm$1@news.codecharge.com...
> this is UserID variable
>
> --
> Alex
>
> Jan K. van Dalen <vandalen@mindspring.com> wrote in message
>news:9lq4ku$kaa$1@news.codecharge.com...
> > Is there a session variable that holds the User Code entered when login
> in?
> >
> > I know I can have the UserNo, and I know I could look up the database,
but
> > was just wondering?
> >
> >
>
>
|
|
|
 |
Don Oldenburg
|
| Posted: 08/20/2001, 1:53 PM |
|
Jan,
Try this!
Session("UserID")
Good Luck!
Don
"Jan K. van Dalen" <vandalen@mindspring.com> wrote in message
news:9lrbfl$ud6$1@news.codecharge.com...
> Hi Alexey,
>
> UserID gives me the ID of the security table not what the user entered in
> the "Login" entry field.
>
> "Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
>news:9lqll4$irm$1@news.codecharge.com...
> > this is UserID variable
> >
> > --
> > Alex
> >
> > Jan K. van Dalen <vandalen@mindspring.com> wrote in message
> >news:9lq4ku$kaa$1@news.codecharge.com...
> > > Is there a session variable that holds the User Code entered when
login
> > in?
> > >
> > > I know I can have the UserNo, and I know I could look up the database,
> but
> > > was just wondering?
> > >
> > >
> >
> >
>
>
|
|
|
 |
Jan K. van Dalen
|
| Posted: 08/20/2001, 3:22 PM |
|
Ok, let me try again. The Session("UserID") returns the ID of the record
selected in the Security Table specified in the Security Area of the
Properties section.
When a secure page is loaded, the user is prompted with the Login page. It
is asked to enter a "Login" and a "Password". I want to display in
subsequent pages what the "Login" was. Is there a session variable that
will give me such information?
"Don Oldenburg" <don.oldenburg@cacmnet.com> wrote in message
news:9lrtbh$tg1$1@news.codecharge.com...
> Jan,
>
> Try this!
>
> Session("UserID")
>
> Good Luck!
>
> Don
>
>
>
>
>
>
> "Jan K. van Dalen" <vandalen@mindspring.com> wrote in message
>news:9lrbfl$ud6$1@news.codecharge.com...
> > Hi Alexey,
> >
> > UserID gives me the ID of the security table not what the user entered
in
> > the "Login" entry field.
> >
> > "Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
> >news:9lqll4$irm$1@news.codecharge.com...
> > > this is UserID variable
> > >
> > > --
> > > Alex
> > >
> > > Jan K. van Dalen <vandalen@mindspring.com> wrote in message
> > >news:9lq4ku$kaa$1@news.codecharge.com...
> > > > Is there a session variable that holds the User Code entered when
> login
> > > in?
> > > >
> > > > I know I can have the UserNo, and I know I could look up the
database,
> > but
> > > > was just wondering?
> > > >
> > > >
> > >
> > >
> >
> >
>
>
|
|
|
 |
Scott R. Senay
|
| Posted: 08/20/2001, 8:13 PM |
|
Actually you can create session variables all you want containing any
information you want in one of the events... In the after update for
example you can drop in a line of code or so to include whatever you want...
The GOTOCODE site uses exactly that type of code on the login page to create
a session varialbe to hold the login name, use that...
Scott...
"Jan K. van Dalen" <vandalen@mindspring.com> wrote in message
news:9ls2jq$6hg$1@news.codecharge.com...
> Ok, let me try again. The Session("UserID") returns the ID of the record
> selected in the Security Table specified in the Security Area of the
> Properties section.
>
> When a secure page is loaded, the user is prompted with the Login page.
It
> is asked to enter a "Login" and a "Password". I want to display in
> subsequent pages what the "Login" was. Is there a session variable that
> will give me such information?
>
> "Don Oldenburg" <don.oldenburg@cacmnet.com> wrote in message
>news:9lrtbh$tg1$1@news.codecharge.com...
> > Jan,
> >
> > Try this!
> >
> > Session("UserID")
> >
> > Good Luck!
> >
> > Don
> >
> >
> >
> >
> >
> >
> > "Jan K. van Dalen" <vandalen@mindspring.com> wrote in message
> >news:9lrbfl$ud6$1@news.codecharge.com...
> > > Hi Alexey,
> > >
> > > UserID gives me the ID of the security table not what the user entered
> in
> > > the "Login" entry field.
> > >
> > > "Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
> > >news:9lqll4$irm$1@news.codecharge.com...
> > > > this is UserID variable
> > > >
> > > > --
> > > > Alex
> > > >
> > > > Jan K. van Dalen <vandalen@mindspring.com> wrote in message
> > > >news:9lq4ku$kaa$1@news.codecharge.com...
> > > > > Is there a session variable that holds the User Code entered when
> > login
> > > > in?
> > > > >
> > > > > I know I can have the UserNo, and I know I could look up the
> database,
> > > but
> > > > > was just wondering?
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
|
|
|
 |
CodeCharge
|
| Posted: 08/21/2001, 11:45 AM |
|
There isn't. However, as Scott pointed out, there is some useful code witin
GotoCode.com web site, for which you can download .ccs file.
GotoCode doesn't exactly create session variable with the user name, but you
can create such variable in OnLogin Event of the Login page:
if bPassed > 0 then Session("UserName") = sLogin
"Jan K. van Dalen" <vandalen@mindspring.com> wrote in message
news:9lrbfl$ud6$1@news.codecharge.com...
> Hi Alexey,
>
> UserID gives me the ID of the security table not what the user entered in
> the "Login" entry field.
>
> "Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
>news:9lqll4$irm$1@news.codecharge.com...
> > this is UserID variable
> >
> > --
> > Alex
> >
> > Jan K. van Dalen <vandalen@mindspring.com> wrote in message
> >news:9lq4ku$kaa$1@news.codecharge.com...
> > > Is there a session variable that holds the User Code entered when
login
> > in?
> > >
> > > I know I can have the UserNo, and I know I could look up the database,
> but
> > > was just wondering?
> > >
> > >
> >
> >
>
>
|
|
|
 |
Jan K. van Dalen
|
| Posted: 08/21/2001, 1:41 PM |
|
Works great. Thanks !!!
"CodeCharge" <support@codecharge.com> wrote in message
news:9lua7p$vgg$1@news.codecharge.com...
> There isn't. However, as Scott pointed out, there is some useful code
witin
> GotoCode.com web site, for which you can download .ccs file.
> GotoCode doesn't exactly create session variable with the user name, but
you
> can create such variable in OnLogin Event of the Login page:
>
> if bPassed > 0 then Session("UserName") = sLogin
>
>
>
> "Jan K. van Dalen" <vandalen@mindspring.com> wrote in message
>news:9lrbfl$ud6$1@news.codecharge.com...
> > Hi Alexey,
> >
> > UserID gives me the ID of the security table not what the user entered
in
> > the "Login" entry field.
> >
> > "Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
> >news:9lqll4$irm$1@news.codecharge.com...
> > > this is UserID variable
> > >
> > > --
> > > Alex
> > >
> > > Jan K. van Dalen <vandalen@mindspring.com> wrote in message
> > >news:9lq4ku$kaa$1@news.codecharge.com...
> > > > Is there a session variable that holds the User Code entered when
> login
> > > in?
> > > >
> > > > I know I can have the UserNo, and I know I could look up the
database,
> > but
> > > > was just wondering?
> > > >
> > > >
> > >
> > >
> >
> >
>
>
|
|
|
 |
|