Re: Session in .NET 2.0
- From: "LVP" <lvp_agentman@xxxxxxxxxxx>
- Date: Wed, 26 Dec 2007 17:04:54 -0800
George Ter-Saakov,
quick question:
why can't you use a gif image instead of the gif-class something like:
.......
.......
document.images("renewSession").src = "/images/spacer.gif?par=" +
Math.random();
.......
.......
Does this work? or Not ?
LVP
"George Ter-Saakov" <gt-nsp@xxxxxxxxxxx> wrote in message
news:%23OoRjn$RIHA.5360@xxxxxxxxxxxxxxxxxxxxxxx
Read my article on codeproject for easy solution
http://www.codeproject.com/KB/aspnet/SessionForever.aspx
George.
"Jack" <no@xxxxx> wrote in message
news:uxL%23ad%23RIHA.2000@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am new to .net. I have created a small web application using .net 2.0
in vs2005, where the user logs in and adds content on their pages. The
content editing is done by integrating a wysiwyg editor (FCKEditor).
The problem is that sometime if the user spends too much time editing the
content and presses the update button, the session gets timed out and the
users looses all what he has been doing. In the old days of classic ASP,
i used to increase the Session.Timeout value to a high number. But how to
do it in .NET? I would like to know some best practice example of keeping
the user session alive in .NET.
Any help is appriciated.
Tnx.
.
- Follow-Ups:
- Re: Session in .NET 2.0
- From: George Ter-Saakov
- Re: Session in .NET 2.0
- References:
- Session in .NET 2.0
- From: Jack
- Re: Session in .NET 2.0
- From: George Ter-Saakov
- Session in .NET 2.0
- Prev by Date: Re: Why can't I can get help on ASP.NET?
- Next by Date: Re: What used to be simple is now simply confusing
- Previous by thread: Re: Session in .NET 2.0
- Next by thread: Re: Session in .NET 2.0
- Index(es):