Hi,
In table we can add one more field(apart from three fields) which will
contain timestamp values. suppose you want to maintain session for one
hour.Then in both aspx and asp pages will retrieve all the values from
database at the very start and put into the session in a similar way.(there
must be check put in the place while we query database that timestamp is not
older than one hour and must not be null.If the session values are not null
in database for particular ID and timestamp is not older than one hour,it
means this is not the first time page is being loaded and we can safely put
session values(retrieved from database) into session variables in asp/aspx
pages.)
Hope i am able to explain you properly.
If you any doubts feel free to ask me
--
Thanks and Regards.
Manish Bafna.
MCP and MCTS.
"Sachin Saki" wrote:
Hi Manish,
Thanks for your solution. But still I am not sure whether it will work when
user clicks on browsers back button. Because when user clicks back button, It
won;t make any post back or redirection so how to handle this scenario. I
guess i am able to explain what my concerns is ??
Thanks & Regards,
Sachin Saki
"Manish Bafna" wrote:
Hi,
You can share it with database.
Below link shows in very simplw way how to do this:
http://www.codeproject.com/aspnet/SessionTransfer.asp
hope this helps
--
Thanks and Regards.
Manish Bafna.
MCP and MCTS.
"Sachin Saki" wrote:
I have asp application, from which I am redirecting user to .aspx page. I
want to use same sessions in .aspx application. When User clicks on Browsers
back button i.e. comes back from .aspx page to .asp page the same session
state i want to persist ? How to do this ??
>
Thanks in Advance
Sachin Saki