Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts

Saturday, March 31, 2012

Session Timeout..

Thanks for your answers.
Now I understand I have to use setTimeout to achieve my goal.
The link http://www.crowes.f9.co.uk/Javascript/timer.htm is really helpful.
Which client side event I should use to keep track the user is still using
the website.
Thanks,
Benjamin
"Steve C. Orr [MVP, MCSD]" <Steve@dotnet.itags.org.Orr.net> wrote in message
news:#lv4LermEHA.324@dotnet.itags.org.TK2MSFTNGP11.phx.gbl...
> You could try using the javascript setTimeout function set to 20 minutes
> (the default session timeout period) and then set the
> document.location.href='login.aspx' via client side code.
> Here's an example of using the javascript setTimeout function:
> http://www.crowes.f9.co.uk/Javascript/timer.htm
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://Steve.Orr.net
>
> "Benjamin Smith" <BenSmithNg@dotnet.itags.org.hotmail.com> wrote in message
> news:%23%23YjkXrmEHA.3608@dotnet.itags.org.TK2MSFTNGP09.phx.gbl...
visible
the
>The browser will keep track of that for you.
All you need is one client side event to fire once the trigger time has
elapsed and you want to warn the user.
You can name the event anything you want.
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Benjamin" <BenSmithNg@.hotmail.com> wrote in message
news:uan1PfQnEHA.392@.tk2msftngp13.phx.gbl...
> Thanks for your answers.
> Now I understand I have to use setTimeout to achieve my goal.
> The link http://www.crowes.f9.co.uk/Javascript/timer.htm is really
> helpful.
> Which client side event I should use to keep track the user is still using
> the website.
> Thanks,
> Benjamin
>
> "Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
> news:#lv4LermEHA.324@.TK2MSFTNGP11.phx.gbl...
> visible
> the
>
The event would be the TimeOut Interval triggering the function that
setTimeOut refers to.
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
"Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
news:#wwlJFRnEHA.3868@.TK2MSFTNGP11.phx.gbl...
> The browser will keep track of that for you.
> All you need is one client side event to fire once the trigger time has
> elapsed and you want to warn the user.
> You can name the event anything you want.
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://Steve.Orr.net
>
> "Benjamin" <BenSmithNg@.hotmail.com> wrote in message
> news:uan1PfQnEHA.392@.tk2msftngp13.phx.gbl...
using
minutes
page.
>

session vaiables lost randomly

i am developing an asp.net web based application using javascript as the server side scripting language. The application makes constant use of an access database and session variables. in a random way, the session variables are lost causing the application to break. The only software on the xp-pro box is iis, .NET framework, office 2003 and 3 com objects: aspmail, aspimage and aspsmartupload. There is no virus detection software.

Anybody have an idea why the session variables are randomly lost ?

thanks, rich"i am developing an asp.net web based application using javascript as the
server side scripting language"
is this possible? What are you using to develope this? Better yet, why are
you using javascript as a serverside .NET language?

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"rich00" <rich00@.discussions.microsoft.com> wrote in message
news:C0B5DB69-E5F5-4946-917A-CBE4ED71325B@.microsoft.com...
> i am developing an asp.net web based application using javascript as the
server side scripting language. The application makes constant use of an
access database and session variables. in a random way, the session
variables are lost causing the application to break. The only software on
the xp-pro box is iis, .NET framework, office 2003 and 3 com objects:
aspmail, aspimage and aspsmartupload. There is no virus detection software.
> Anybody have an idea why the session variables are randomly lost ?
> thanks, rich
this application is a port from asp to asp.net

asp only suppoted basic or javascript. the choice of javacript over basic was easy.

"rich00" wrote:

> i am developing an asp.net web based application using javascript as the server side scripting language. The application makes constant use of an access database and session variables. in a random way, the session variables are lost causing the application to break. The only software on the xp-pro box is iis, .NET framework, office 2003 and 3 com objects: aspmail, aspimage and aspsmartupload. There is no virus detection software.
> Anybody have an idea why the session variables are randomly lost ?
> thanks, rich
jscript.net is a fine language, it only downside is lack of ide support.

anyway, lots of events trigger loss of session. any recompile of the app or
reload of the domain, cause session data to be lost with the inproc session
manager. check the event log form appdomain recycles.

if you want a stable site, you should not use inproc, but the sql session
manager (works with the free msde).

-- bruce (sqlwork.com)

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:uA6taC$TEHA.3012@.tk2msftngp13.phx.gbl...
> "i am developing an asp.net web based application using javascript as the
> server side scripting language"
> is this possible? What are you using to develope this? Better yet, why are
> you using javascript as a serverside .NET language?
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "rich00" <rich00@.discussions.microsoft.com> wrote in message
> news:C0B5DB69-E5F5-4946-917A-CBE4ED71325B@.microsoft.com...
> > i am developing an asp.net web based application using javascript as the
> server side scripting language. The application makes constant use of an
> access database and session variables. in a random way, the session
> variables are lost causing the application to break. The only software on
> the xp-pro box is iis, .NET framework, office 2003 and 3 com objects:
> aspmail, aspimage and aspsmartupload. There is no virus detection
software.
> > Anybody have an idea why the session variables are randomly lost ?
> > thanks, rich
>i am developing an asp.net web based application using javascript as the
>server side scripting language

wow, can i see that code please.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"rich00" <rich00@.discussions.microsoft.com> wrote in message
news:C0B5DB69-E5F5-4946-917A-CBE4ED71325B@.microsoft.com...
>i am developing an asp.net web based application using javascript as the
>server side scripting language. The application makes constant use of an
>access database and session variables. in a random way, the session
>variables are lost causing the application to break. The only software on
>the xp-pro box is iis, .NET framework, office 2003 and 3 com objects:
>aspmail, aspimage and aspsmartupload. There is no virus detection software.
> Anybody have an idea why the session variables are randomly lost ?
> thanks, rich
the app consists of 1000+ scripts. i can send you a smple sctipt or 2. the app builds database driven web sites.

"Alvin Bruney [MVP]" wrote:

> >i am developing an asp.net web based application using javascript as the
> >server side scripting language
> wow, can i see that code please.
> --
> Regards,
> Alvin Bruney
> [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
> Got tidbits? Get it here... http://tinyurl.com/27cok
> "rich00" <rich00@.discussions.microsoft.com> wrote in message
> news:C0B5DB69-E5F5-4946-917A-CBE4ED71325B@.microsoft.com...
> >i am developing an asp.net web based application using javascript as the
> >server side scripting language. The application makes constant use of an
> >access database and session variables. in a random way, the session
> >variables are lost causing the application to break. The only software on
> >the xp-pro box is iis, .NET framework, office 2003 and 3 com objects:
> >aspmail, aspimage and aspsmartupload. There is no virus detection software.
> > Anybody have an idea why the session variables are randomly lost ?
> > thanks, rich
>

session vaiables lost randomly

i am developing an asp.net web based application using javascript as the ser
ver side scripting language. The application makes constant use of an access
database and session variables. in a random way, the session variables are
lost causing the applicatio
n to break. The only software on the xp-pro box is iis, .NET framework, offi
ce 2003 and 3 com objects: aspmail, aspimage and aspsmartupload. There is no
virus detection software.
Anybody have an idea why the session variables are randomly lost ?
thanks, rich"i am developing an asp.net web based application using javascript as the
server side scripting language"
is this possible? What are you using to develope this? Better yet, why are
you using javascript as a serverside .NET language?
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"rich00" <rich00@.discussions.microsoft.com> wrote in message
news:C0B5DB69-E5F5-4946-917A-CBE4ED71325B@.microsoft.com...
> i am developing an asp.net web based application using javascript as the
server side scripting language. The application makes constant use of an
access database and session variables. in a random way, the session
variables are lost causing the application to break. The only software on
the xp-pro box is iis, .NET framework, office 2003 and 3 com objects:
aspmail, aspimage and aspsmartupload. There is no virus detection software.
> Anybody have an idea why the session variables are randomly lost ?
> thanks, rich
this application is a port from asp to asp.net
asp only suppoted basic or javascript. the choice of javacript over basic wa
s easy.
"rich00" wrote:

> i am developing an asp.net web based application using javascript as the server si
de scripting language. The application makes constant use of an access database and
session variables. in a random way, the session variables are lost causing the appli
cat
ion to break. The only software on the xp-pro box is iis, .NET framework, office 2003 and 3
com objects: aspmail, aspimage and aspsmartupload. There is no virus detection software.[c
olor=darkred]
> Anybody have an idea why the session variables are randomly lost ?
> thanks, rich[/color]
jscript.net is a fine language, it only downside is lack of ide support.
anyway, lots of events trigger loss of session. any recompile of the app or
reload of the domain, cause session data to be lost with the inproc session
manager. check the event log form appdomain recycles.
if you want a stable site, you should not use inproc, but the sql session
manager (works with the free msde).
-- bruce (sqlwork.com)
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:uA6taC$TEHA.3012@.tk2msftngp13.phx.gbl...
> "i am developing an asp.net web based application using javascript as the
> server side scripting language"
> is this possible? What are you using to develope this? Better yet, why are
> you using javascript as a serverside .NET language?
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
> "rich00" <rich00@.discussions.microsoft.com> wrote in message
> news:C0B5DB69-E5F5-4946-917A-CBE4ED71325B@.microsoft.com...
> server side scripting language. The application makes constant use of an
> access database and session variables. in a random way, the session
> variables are lost causing the application to break. The only software on
> the xp-pro box is iis, .NET framework, office 2003 and 3 com objects:
> aspmail, aspimage and aspsmartupload. There is no virus detection
software.
>
>i am developing an asp.net web based application using javascript as the
>server side scripting language
wow, can i see that code please.
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"rich00" <rich00@.discussions.microsoft.com> wrote in message
news:C0B5DB69-E5F5-4946-917A-CBE4ED71325B@.microsoft.com...
>i am developing an asp.net web based application using javascript as the
>server side scripting language. The application makes constant use of an
>access database and session variables. in a random way, the session
>variables are lost causing the application to break. The only software on
>the xp-pro box is iis, .NET framework, office 2003 and 3 com objects:
>aspmail, aspimage and aspsmartupload. There is no virus detection software.
> Anybody have an idea why the session variables are randomly lost ?
> thanks, rich
the app consists of 1000+ scripts. i can send you a smple sctipt or 2. the a
pp builds database driven web sites.
"Alvin Bruney [MVP]" wrote:

> wow, can i see that code please.
> --
> Regards,
> Alvin Bruney
> [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
> Got tidbits? Get it here... http://tinyurl.com/27cok
> "rich00" <rich00@.discussions.microsoft.com> wrote in message
> news:C0B5DB69-E5F5-4946-917A-CBE4ED71325B@.microsoft.com...
>
>

Thursday, March 29, 2012

Session Values and Javascript?

I have a javascript menu navigation. I have some session values which
regularly get updated, but when i navigate using this Javascript menu
to a different page i'm not able to see the updated session values
where I actually need them, i will be getting only the old ones. And
when i refresh the page i can see the new values.
Is there is way to get around this problem?
Can any one help please?I think what is more likely is that somehow the values are getting reset. It
doesn't matter if javascript or something else is doing the navigation - as
long as there is the same sessionid, you would see those values.

I would look at your code. My guess is that those values are getting reset
somehow to their 'old' values.

Also, I'm not sure what you mean by 'see' the new values. Are you displaying
these values on the page? Perhaps your pages are being cached by the browser
then.

If you are talking about on the server in the code, then I think it is the
case that something is resetting them.

"savvy" <johngera@.gmail.comwrote in message
news:1152624752.473102.120480@.p79g2000cwp.googlegr oups.com...

Quote:

Originally Posted by

>I have a javascript menu navigation. I have some session values which
regularly get updated, but when i navigate using this Javascript menu
to a different page i'm not able to see the updated session values
where I actually need them, i will be getting only the old ones. And
when i refresh the page i can see the new values.
Is there is way to get around this problem?
Can any one help please?
>


Can it be a caching issue? To rule it out, try adding a random query
parameter to the url you navigate to in javascript.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]

"savvy" <johngera@.gmail.comwrote in message
news:1152624752.473102.120480@.p79g2000cwp.googlegr oups.com...

Quote:

Originally Posted by

>I have a javascript menu navigation. I have some session values which
regularly get updated, but when i navigate using this Javascript menu
to a different page i'm not able to see the updated session values
where I actually need them, i will be getting only the old ones. And
when i refresh the page i can see the new values.
Is there is way to get around this problem?
Can any one help please?
>


Did you checked whether the sessions values are updated with the new
values? Please confirm that before doing anything.

--
Vadivel Kumar
http://www.vadivelk.net
vadi@.online.vadivelk.net (remove "online.")

savvy wrote:

Quote:

Originally Posted by

I have a javascript menu navigation. I have some session values which
regularly get updated, but when i navigate using this Javascript menu
to a different page i'm not able to see the updated session values
where I actually need them, i will be getting only the old ones. And
when i refresh the page i can see the new values.
Is there is way to get around this problem?
Can any one help please?
>


Yes, I'm displaying the values on all the pages,Actually I'm developing
a shopping cart in which I'm displaying a small Item basket on all the
pages which displays number of Items added to the basket and their
total price on all pages.
So for example when I doing Response.Redirect to a Particular Page I
can see the updated values but when i navigate using this javascript
menu its just bringing up the old values ,
I can see that page is not posted back and I think its just bringing up
the cached page (I dont know much about caching! sorry). I think this
is pointing to the Caching Issue Problem
I'm not able to understand how to get over this problem. i've trying
this since 5 days till now
Thanks in advance for your time and help

code...

protected void Page_Load(object sender, EventArgs e)
{
if (Convert.ToString(Session["Total"]) == string.Empty)
{
pllogin.Visible = true;
plbasket.Visible = false;
}
else
{
pllogin.Visible = false;
plbasket.Visible = true;
lblquantity.Text = Convert.ToString(Session["TotQty"]);
lblprice.Text = Convert.ToString(Session["Total"]);
}
}
Thanks everyone for your time
Contd...
Yes, I can see the values are updated and they are not resetted. lets
say in the main basket page if i change the no of items(quantity) so
the total price gets changes as well and these updated values are
supposed to be seen in all pages but if I use the JS Menu and navigate
to a particular page I can see the previous values only and if I
refresh the same page i can see the updated values.
Hope i made myself clear
So, if this is a caching issue how can i update the values in the
cache?

Thanks in Advance

savvy wrote:

Quote:

Originally Posted by

Yes, I'm displaying the values on all the pages,Actually I'm developing
a shopping cart in which I'm displaying a small Item basket on all the
pages which displays number of Items added to the basket and their
total price on all pages.
So for example when I doing Response.Redirect to a Particular Page I
can see the updated values but when i navigate using this javascript
menu its just bringing up the old values ,
I can see that page is not posted back and I think its just bringing up
the cached page (I dont know much about caching! sorry). I think this
is pointing to the Caching Issue Problem
I'm not able to understand how to get over this problem. i've trying
this since 5 days till now
Thanks in advance for your time and help
>
code...
>
protected void Page_Load(object sender, EventArgs e)
{
if (Convert.ToString(Session["Total"]) == string.Empty)
{
pllogin.Visible = true;
plbasket.Visible = false;
}
else
{
pllogin.Visible = false;
plbasket.Visible = true;
lblquantity.Text = Convert.ToString(Session["TotQty"]);
lblprice.Text = Convert.ToString(Session["Total"]);
}
}


As I suggested in my other response, one of the ways to trick caching is to
add a random query parameter to the url. For example, instead of navigating
to abc.aspx, go to abc.aspx?<here is a random value>.

If you set url in javascript you can use the millisecond part of the current
time:
'abc.aspx?' + (new Date()).getMilliseconds()

If you set url on server side, you can use Random class or whatever else you
find for this matter.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]

"savvy" <johngera@.gmail.comwrote in message
news:1152629652.206523.186880@.m73g2000cwd.googlegr oups.com...

Quote:

Originally Posted by

Yes, I'm displaying the values on all the pages,Actually I'm developing
a shopping cart in which I'm displaying a small Item basket on all the
pages which displays number of Items added to the basket and their
total price on all pages.
So for example when I doing Response.Redirect to a Particular Page I
can see the updated values but when i navigate using this javascript
menu its just bringing up the old values ,
I can see that page is not posted back and I think its just bringing up
the cached page (I dont know much about caching! sorry). I think this
is pointing to the Caching Issue Problem
I'm not able to understand how to get over this problem. i've trying
this since 5 days till now
Thanks in advance for your time and help
>
code...
>
protected void Page_Load(object sender, EventArgs e)
{
if (Convert.ToString(Session["Total"]) == string.Empty)
{
pllogin.Visible = true;
plbasket.Visible = false;
}
else
{
pllogin.Visible = false;
plbasket.Visible = true;
lblquantity.Text = Convert.ToString(Session["TotQty"]);
lblprice.Text = Convert.ToString(Session["Total"]);
}
}
>


Eliyahu Goldin, I dont know how to convey my thanks to u
it worked perfectly mate, i've been struggling to solve this problem
I didn't have got this trick
Thank u very very much
I can only wish with all my heart for your success in what ever u do
mate
Thank u very much for your time
I can only wish with all my heart for your success in what ever u do

Thank you.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]

session variable and window.open

Hi all, I have a website where I want to be able to 'pop up' a window using
the window.open call in JavaScript.
I remember back in the old days of classic ASP there was a problem where a
call to window.open started a new session and all session variables were
lost.
I did a quick check in ASP.Net and the session variables were saved between
the parent window and the new 'pop up' window so that's fine.

What I want to know is there any problems with doing this (Browser issues
etc) as I do not want to pass though any information via the Querystring
(Security issue).

Thanks in advance
MarkHi,

As in the old happy days of ASP and COM using window.open still can end
up with new session. if you want to be sure that the new window maintain
the same session use javascript to pass cookies from the calling page to
the new one.

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
correction: it still holds true even in classic ASP.

"Mark" <mark@.yahoo.comN0SPAM> wrote in message
news:beimm4$fuu$1@.lust.ihug.co.nz...
> Hi all, I have a website where I want to be able to 'pop up' a window
using
> the window.open call in JavaScript.
> I remember back in the old days of classic ASP there was a problem where a
> call to window.open started a new session and all session variables were
> lost.
> I did a quick check in ASP.Net and the session variables were saved
between
> the parent window and the new 'pop up' window so that's fine.
> What I want to know is there any problems with doing this (Browser issues
> etc) as I do not want to pass though any information via the Querystring
> (Security issue).
> Thanks in advance
> Mark
i tried to prove i said that using window.open in client-side script will
produce the same SessionID by creating two asp pages.

default.asp
<script language="javascript">
function windowOpen()
{ window.open("another.asp","_blank"); }
</script
This is a <a href="http://links.10026.com/?link=javascript:windowOpen();">link</a>
The session id = <%=Session.SessionID%
another.asp

<%= Session.SessionID %
Walah!!! they produced the same SessionID value!!!

try it!

"Natty Gur" <natty@.dao2com.com> wrote in message
news:usKjx5pRDHA.2460@.TK2MSFTNGP10.phx.gbl...
> Hi,
> As in the old happy days of ASP and COM using window.open still can end
> up with new session. if you want to be sure that the new window maintain
> the same session use javascript to pass cookies from the calling page to
> the new one.
> Natty Gur, CTO
> Dao2Com Ltd.
> 28th Baruch Hirsch st. Bnei-Brak
> Israel , 51114
> Phone Numbers:
> Office: +972-(0)3-5786668
> Fax: +972-(0)3-5703475
> Mobile: +972-(0)58-888377
> Know the overall picture
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
Yes I know. but in my 10 years of expirence and almost 3 in ASP.NET the
same code that works, from time to time dont behave as expected and
create new session.

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
i see that... thanks for your suggestion :) i guess i have to take that
one as a good advice.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Monday, March 26, 2012

Session variable in javascript

How can retrieve a Session value in javascript which I had set in
code-behind ?"sramruttun" <sramruttun@.yahoo.com> wrote in message
news:%23HNeXvZVDHA.2228@.TK2MSFTNGP12.phx.gbl...
> How can retrieve a Session value in javascript which I had set in
> code-behind ?

By putting it into a hidden field from the code-behind?

Luc K
Session variables are mainly used on the Server side. You may use cookies if
you need to read them from the client in Javasript.

"sramruttun" <sramruttun@.yahoo.com> wrote in message
news:%23HNeXvZVDHA.2228@.TK2MSFTNGP12.phx.gbl...
> How can retrieve a Session value in javascript which I had set in
> code-behind ?
http://www.dotnet247.com/247reference/msgs/5/26815.aspx
http://www.w3schools.com/aspnet/con...inputhidden.asp

Luc K

"sramruttun" <sramruttun@.yahoo.com> wrote in message
news:uJUt%236mVDHA.2268@.TK2MSFTNGP11.phx.gbl...
> thanks luc for the consideration
> can u give me a small piece of code?
>
> "Luc Kumps" <NOkumpsSPAM@.pandora.be> wrote in message
> news:hGoVa.38995$F92.4038@.afrodite.telenet-ops.be...
> > "sramruttun" <sramruttun@.yahoo.com> wrote in message
> > news:%23HNeXvZVDHA.2228@.TK2MSFTNGP12.phx.gbl...
> > > How can retrieve a Session value in javascript which I had set in
> > > code-behind ?
> > By putting it into a hidden field from the code-behind?
> > Luc K
thanks Luc - the links have been helpful

"Luc Kumps" <NOkumpsSPAM@.pandora.be> wrote in message
news:T6MVa.41177$F92.4366@.afrodite.telenet-ops.be...
> http://www.dotnet247.com/247reference/msgs/5/26815.aspx
> http://www.w3schools.com/aspnet/con...inputhidden.asp
> Luc K
> "sramruttun" <sramruttun@.yahoo.com> wrote in message
> news:uJUt%236mVDHA.2268@.TK2MSFTNGP11.phx.gbl...
> > thanks luc for the consideration
> > can u give me a small piece of code?
> > "Luc Kumps" <NOkumpsSPAM@.pandora.be> wrote in message
> > news:hGoVa.38995$F92.4038@.afrodite.telenet-ops.be...
> > > > "sramruttun" <sramruttun@.yahoo.com> wrote in message
> > > news:%23HNeXvZVDHA.2228@.TK2MSFTNGP12.phx.gbl...
> > > > How can retrieve a Session value in javascript which I had set in
> > > > code-behind ?
> > > > By putting it into a hidden field from the code-behind?
> > > > Luc K