Ask a Question related to ASP.NET Security, Design and Development.
-
Nitin #1
Multiple Sessions on a Page
Hi,
I am having a web site using windows authentication
(basic). After the verification of credentials, a session
is started. Within the Session_Start Event, I am
extracting the identity of current user. But it starts a
new session sometimes after executing one line in the
session_start event and sometimes more lines.
Following is the code :
Can anyone suggest me why it is starting multiple
sessions here.
protected void Session_Start(Object sender, EventArgs e)
{
string userLoggingIn = Users.GetUserLoggingIn();
int userNameLen = userLoggingIn.Length -
userLoggingIn.IndexOf(@"\",0,userLoggingIn.Length)-1;
userLoggingIn = userLoggingIn.Substring
(userLoggingIn.IndexOf(@"\",0,userLoggingIn.Length )
+1,userNameLen);
Session["parent"]= userLoggingIn;
}
Nitin Guest
-
Advanced OOP: Best OO design for rendering multiple page types to multiple devices
Hoping to get some ideas from more experienced hands regarding the best way to use object-oriented design to assist my development of a content... -
[PHP] using SESSIONS to store page 2 page variables
I think it's OK since users needs to be authenticated. Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 ... -
using SESSIONS to store page 2 page variables
Hi, Is it advisable to use SESSIONS to store variable from one page to another page instead of using something like a hidden field? eg: ... -
Writing multiple sessions to DVD?
I've got a new machine with a DVD burner, and I've never used the built-in burning features of OS X, so I'm wondering how it works. I'd like to...



Reply With Quote

