Session Issue

  • Thread starter Thread starter Lav KG
  • Start date Start date
L

Lav KG

Hi ,

I'm initializing a Session variable when I navigate from
Page A to Page B.
I want it to be reinitialized when the user navigates from B--> A by
pressing "Back" navigation button/link.

Can anyone tell me how I should go about it?

Regards
Lav KG
 
normally the browser does not notify the server when the back is used.you
can set the page to expir, but users will a message about re-posting data.
a better approach is to rework your logic.

-- bruce (sqlwork.com)
 
...a better approach is to rework your logic.

Bruce,
A user selects a particular product on the first page, processing for
that particular product is done in rest of the pages.So once he opts to
go back to the main page
I want the "Selected Product" to be null.

I think it's too simple a logic. :)

Regards
Lav KG
 
Back
Top