Saturday, March 24, 2012

passing variables

When I try that it tells me that property is read - only!
any ideas.
thanks
Phil.
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%234djVFU1DHA.4032@dotnet.itags.org.tk2msftngp13.phx.gbl...
> I set mine into the
> Page.User.Identity.Name
> Then I always have the userID accessable across the app/site
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> www.Darkfalz.com
>
> "Phil Barber" <barber@dotnet.itags.org.galtney.com> wrote in message
> news:e3TFmBU1DHA.3196@dotnet.itags.org.TK2MSFTNGP11.phx.gbl...
> > I have a login page (page1) on successful login I retrieve an employeeID
> > from a SQL Database.
> > then move to a 2nd page. What is the best way to get the EmployeeID from
> > Page 1 to Page2
> > I have had problems with global variables in the past concerning
sessions.
> > thanks.
> > Phil BarberIt's when I use Forms Auth, like this
FormsAuthentication.SetAuthCookie(userID,false);

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com

"Phil Barber" <barber@.galtney.com> wrote in message
news:%23Go$s9U1DHA.4032@.tk2msftngp13.phx.gbl...
> When I try that it tells me that property is read - only!
> any ideas.
> thanks
> Phil.
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:%234djVFU1DHA.4032@.tk2msftngp13.phx.gbl...
> > I set mine into the
> > Page.User.Identity.Name
> > Then I always have the userID accessable across the app/site
> > --
> > Curt Christianson
> > Owner/Lead Developer, DF-Software
> > www.Darkfalz.com
> > "Phil Barber" <barber@.galtney.com> wrote in message
> > news:e3TFmBU1DHA.3196@.TK2MSFTNGP11.phx.gbl...
> > > I have a login page (page1) on successful login I retrieve an
employeeID
> > > from a SQL Database.
> > > then move to a 2nd page. What is the best way to get the EmployeeID
from
> > > Page 1 to Page2
> > > > I have had problems with global variables in the past concerning
> sessions.
> > > > thanks.
> > > > Phil Barber
> >

0 comments:

Post a Comment