Loosing Session values across Applications

G

Guest

I seem to be loosing my session variable as I move from one application to another
The first application presents a menu of applications the user is authed for
When I call the next application and try to retrieve the username from the session variable I get nothing; the value is null

I have tried all the Session modes and set cookies off

Once I know they are valid I fill in the UID value in session
Session.Add( "UID", this.txtBoxUserName.Text )

For know I hardcoded this to get me to my next application
Using "Response.ApplyAppPathModifier" does not seem to add the Session ID to the URL as documented
NewURL = "/COA/(" + Session.SessionID + ")/COA_EntryForm.aspx"
Response.Redirect( NewURL )

When I get to the next form "COA_EntryForm.aspx", I get an exception when I try to access
"Session["UID"]"

Any and all help is appreciated.
 
G

Guest

I'll check out the webite, thanks!

I thought that the difference between the application object and the session object was that the session object existed during the session and was exclusive to the session and the application existed for the aplpication and was shared by all users

-bob
 
G

Guest

You are right, but not between applications

----- Windjammer wrote: ----

I'll check out the webite, thanks!

I thought that the difference between the application object and the session object was that the session object existed during the session and was exclusive to the session and the application existed for the aplpication and was shared by all users


-bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top