473,385 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Page.User.Identity.Name

Does anyone know how I can assign a Session variable to this? so that I can
pull it back out on another page?
Nov 16 '05 #1
3 6480
Use Guid instead - Assign Guid to each session and then use it for user
authentication. More secure, more reliable, faster

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "
"Brian Conway" <Br**********@qwest.com> wrote in message
news:eo**************@TK2MSFTNGP11.phx.gbl...
Does anyone know how I can assign a Session variable to this? so that I can pull it back out on another page?

Nov 16 '05 #2
I can't I need the login information to pull dynamic datasets based off of
who logins in, and need to update a table with the login user id which they
used to log in with, which I carry with a Session variable so that I can use
it in two other queries that are built based off of it.
"Tamir Khason" <ta**********@tcon-NOSPAM.co.il> wrote in message
news:ON****************@TK2MSFTNGP10.phx.gbl...
Use Guid instead - Assign Guid to each session and then use it for user
authentication. More secure, more reliable, faster

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "
"Brian Conway" <Br**********@qwest.com> wrote in message
news:eo**************@TK2MSFTNGP11.phx.gbl...
Does anyone know how I can assign a Session variable to this? so that I

can
pull it back out on another page?


Nov 16 '05 #3
Can this be done with Web Forms? I forgot to put that this is a web app.
"Daniel Jin" <Da*******@discussions.microsoft.com> wrote in message
news:6D**********************************@microsof t.com...
that can only be set when an IIdentity is created. you have to manually handle the forms authentication process (assuming you are using forms
authentication) by participating in either
FormsAuthentication_OnAuthenticate or HttpApplicant.AuthenticateRequest
directly. look up the topics in the documentation under forms
authentication, it will tell you how to customize authentication ticket etc
to achieve this.
"Brian Conway" wrote:
Does anyone know how I can assign a Session variable to this? so that I can pull it back out on another page?

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Senthil | last post by:
1. Created a new C# web application project 2. Change the name of webform1 to login.aspx 3. And in the .cs file change the name of the class to login, and include System.web.security namespace....
12
by: enak | last post by:
I have found some code that shows how to convert an html form to Word. The message said to simply put the following in the Page_load: Response.ContentType = "application/ms-word"...
4
by: Dan Bart | last post by:
I am using an application which is a modification of IBuySpy Portal. It is using Forms authentication. Users login and their name is added to Context Then I use: ...
5
by: Kenneth Keeley | last post by:
Hi, I have a web app that has forms authentication and I can login to the page the first time I go there but it never times me out if I come back in 24 hours a hit the refresh key the page loads...
2
by: Paul | last post by:
Hi I am trying to run a simple windows authentication example in the Microsoft web apps book page 372 and in the page load sub I am getting the errors, name spnAuthenticated not declared,...
0
by: Chris Ericoli | last post by:
Hi, I am working with an 'in session' ado dataset with an asp.net application. My dataset is comprised of two tables, one of which maintains a few calculated datacolumns. For some reason these...
3
by: Patrick Olurotimi Ige | last post by:
How can i send LOGON_USER or User.Identity.Name to the Database? I'm working on a survey which is intranet based with Windows Authentication. I can get the current user by calling LOGON_USER or...
8
by: Edward Mitchell | last post by:
I have a main project that is protected in that the user is directed to a login.aspx file. The text in the web.config file is: <authentication mode="Forms"> <forms loginUrl="Login.aspx" />...
4
by: luna | last post by:
Where does this function get the name from ? reason i ask is, a user wanted their name changing on the domain, i fixe everything else (email,login etc etc) but this function still displays the old...
5
by: Donald Adams | last post by:
Hi, I will have both web and win clients and would like to page my data. I could not find out how the datagrid control does it's paging though I did find some sample code that says they do it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.